ForcedDisconnectException (Apache Geode 1.13.2)
Date: 2021-03-08

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 and 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 Detail

    - #### ForcedDisconnectException

          public ForcedDisconnectException(String message)

      Creates a new `SystemConnectException`.

    - #### ForcedDisconnectException

          public ForcedDisconnectException(String message,
                                           Throwable cause)