com.hazelcast.cp.exception

## Class CPGroupDestroyedException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.hazelcast.core.HazelcastException
        - - com.hazelcast.cp.exception.CPSubsystemException
          - - com.hazelcast.cp.exception.CPGroupDestroyedException

- All Implemented Interfaces:
    Serializable

      public class CPGroupDestroyedException
      extends CPSubsystemException

  A `CPSubsystemException` which is thrown when a request is sent to a destroyed CP group.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CPGroupDestroyedException()`
    `CPGroupDestroyedException(CPGroupId groupId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `CPGroupId` | `getGroupId()`

    - ### Methods inherited from class com.hazelcast.cp.exception.CPSubsystemException

      `getLeader`

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

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

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

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

- - ### Constructor Detail

    - #### CPGroupDestroyedException

          public CPGroupDestroyedException()

    - #### CPGroupDestroyedException

          public CPGroupDestroyedException(CPGroupId groupId)

  - ### Method Detail

    - #### getGroupId

          public CPGroupId getGroupId()

Copyright © 2020. All rights reserved.