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:
    java.io.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 and Description
    `ForcedDisconnectException(java.lang.String message)` Creates a new `SystemConnectException`.
    `ForcedDisconnectException(java.lang.String message, java.lang.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 Detail

    - #### ForcedDisconnectException

          public ForcedDisconnectException(java.lang.String message)

      Creates a new `SystemConnectException`.

    - #### ForcedDisconnectException

          public ForcedDisconnectException(java.lang.String message,
                                           java.lang.Throwable cause)