public class ClusterManagementException extends RuntimeException
ClusterManagementService
implementations.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
|
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
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClusterManagementException(ClusterManagementResult.StatusCode statusCode, String message)
statusCode
- the ClusterManagementResult.StatusCode
of the resultmessage
- the status message to setpublic ClusterManagementException(ClusterManagementResult result)
public ClusterManagementException(ClusterManagementResult result, Throwable cause)
result
- the result to setcause
- the cause of this exceptionpublic ClusterManagementResult getResult()
ClusterManagementResult
associated with this exceptionpublic ClusterManagementResult.StatusCode getStatusCode()
ClusterManagementResult.StatusCode
of the result associated with this
exceptionpublic String getStatusMessage()