@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OperationNotSupportedException extends AmazonWorkspacesException
This operation is not supported.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
OperationNotSupportedException(String message)
Constructs a new OperationNotSupportedException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReason()
The exception error reason.
|
void |
setReason(String reason)
The exception error reason.
|
OperationNotSupportedException |
withReason(String reason)
The exception error reason.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OperationNotSupportedException(String message)
message - Describes the error encountered.public void setReason(String reason)
The exception error reason.
reason - The exception error reason.public String getReason()
The exception error reason.
public OperationNotSupportedException withReason(String reason)
The exception error reason.
reason - The exception error reason.