ClusterManagementException (Apache Geode 1.12.8)
Date: 2022-01-10

org.apache.geode.management.api

## Class ClusterManagementException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.geode.management.api.ClusterManagementException

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    ClusterManagementRealizationException

      public class ClusterManagementException
      extends RuntimeException

  Base class of all exceptions thrown by `ClusterManagementService` implementations.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClusterManagementException(ClusterManagementResult.StatusCode statusCode, String message)` for internal use only
    `ClusterManagementException(ClusterManagementResult result)`
    `ClusterManagementException(ClusterManagementResult result, Throwable cause)` for internal use only

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClusterManagementResult` | `getResult()` for internal use only
    `ClusterManagementResult.StatusCode` | `getStatusCode()` get the status code of the unsuccessful result
    `String` | `getStatusMessage()` get the status message of the unsuccessful result, if available

    - ### 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

    - #### ClusterManagementException

          public ClusterManagementException(ClusterManagementResult.StatusCode statusCode,
                                            String message)

      for internal use only

    - #### ClusterManagementException

          public ClusterManagementException(ClusterManagementResult result)

    - #### ClusterManagementException

          public ClusterManagementException(ClusterManagementResult result,
                                            Throwable cause)

      for internal use only

  - ### Method Detail

    - #### getResult

          public ClusterManagementResult getResult()

      for internal use only

    - #### getStatusCode

          public ClusterManagementResult.StatusCode getStatusCode()

      get the status code of the unsuccessful result

    - #### getStatusMessage

          public String getStatusMessage()

      get the status message of the unsuccessful result, if available