Package 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
Base class of all exceptions thrown by
ClusterManagementService implementations.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClusterManagementException(ClusterManagementResult.StatusCode statusCode, String message) for internal use onlyClusterManagementException(ClusterManagementResult result, Throwable cause) for internal use only -
Method Summary
Modifier and TypeMethodDescriptionfor internal use onlyget the status code of the unsuccessful resultget the status message of the unsuccessful result, if availableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClusterManagementException
for internal use only- Parameters:
statusCode- theClusterManagementResult.StatusCodeof the resultmessage- the status message to set
-
ClusterManagementException
-
ClusterManagementException
for internal use only- Parameters:
result- the result to setcause- the cause of this exception
-
-
Method Details
-
getResult
for internal use only- Returns:
- the
ClusterManagementResultassociated with this exception
-
getStatusCode
get the status code of the unsuccessful result- Returns:
- the
ClusterManagementResult.StatusCodeof the result associated with this exception
-
getStatusMessage
get the status message of the unsuccessful result, if available- Returns:
- the status message of the result associated with this exception
-