ForcedDisconnectException (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode, class: ForcedDisconnectException

Package org.apache.geode

# Class ForcedDisconnectException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.cache.CacheRuntimeException
org.apache.geode.CancelException
org.apache.geode.ForcedDisconnectException

All Implemented Interfaces:
  `Serializable`

public class ForcedDisconnectException extends CancelException
An `ForcedDisconnectException` is thrown when a GemFire application is removed from the distributed system due to membership constraints such as network partition detection.

Since:
  GemFire 5.7
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ForcedDisconnectException(String message)`
  Creates a new `SystemConnectException`.
  `ForcedDisconnectException(String message, Throwable cause)`

- ## Method Summary

  ### Methods inherited from class org.apache.geode.cache.CacheRuntimeException

  `toString`

  ### Methods inherited from class org.apache.geode.GemFireException

  `getRootCause`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ForcedDisconnectException

    public ForcedDisconnectException(String message)
    Creates a new `SystemConnectException`.
    Parameters:
      `message` - the detail message

  - ### ForcedDisconnectException

    public ForcedDisconnectException(String message, Throwable cause)