VMware GemFire Java API Reference
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:
java.io.Serializable
- Direct Known Subclasses:
ClusterManagementRealizationException
public class ClusterManagementException extends java.lang.RuntimeExceptionBase class of all exceptions thrown byClusterManagementServiceimplementations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterManagementException(ClusterManagementResult result)ClusterManagementException(ClusterManagementResult.StatusCode statusCode, java.lang.String message)for internal use onlyClusterManagementException(ClusterManagementResult result, java.lang.Throwable cause)for internal use only
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterManagementResultgetResult()for internal use onlyClusterManagementResult.StatusCodegetStatusCode()get the status code of the unsuccessful resultjava.lang.StringgetStatusMessage()get the status message of the unsuccessful result, if available
-
-
-
Constructor Detail
-
ClusterManagementException
public ClusterManagementException(ClusterManagementResult.StatusCode statusCode, java.lang.String message)
for internal use only- Parameters:
statusCode- theClusterManagementResult.StatusCodeof the resultmessage- the status message to set
-
ClusterManagementException
public ClusterManagementException(ClusterManagementResult result)
-
ClusterManagementException
public ClusterManagementException(ClusterManagementResult result, java.lang.Throwable cause)
for internal use only- Parameters:
result- the result to setcause- the cause of this exception
-
-
Method Detail
-
getResult
public ClusterManagementResult getResult()
for internal use only- Returns:
- the
ClusterManagementResultassociated with this exception
-
getStatusCode
public ClusterManagementResult.StatusCode getStatusCode()
get the status code of the unsuccessful result- Returns:
- the
ClusterManagementResult.StatusCodeof the result associated with this exception
-
getStatusMessage
public java.lang.String getStatusMessage()
get the status message of the unsuccessful result, if available- Returns:
- the status message of the result associated with this exception
-
-