public class UnsupportedAvailabilityZoneException extends AmazonServiceException
AmazonServiceException.ErrorType
Constructor and Description |
---|
UnsupportedAvailabilityZoneException(String message)
Constructs a new UnsupportedAvailabilityZoneException with the specified
error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Returns the value of the ErrorCode property for this object.
|
void |
setErrorCode(String errorCode)
Sets the value of the ErrorCode property for this object.
|
UnsupportedAvailabilityZoneException |
withErrorCode(String errorCode)
Sets the value of the ErrorCode property for this object.
|
getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsupportedAvailabilityZoneException(String message)
message
- Describes the error encountered.public void setErrorCode(String errorCode)
setErrorCode
in class AmazonServiceException
errorCode
- The new value for the ErrorCode property for this object.public String getErrorCode()
getErrorCode
in class AmazonServiceException
public UnsupportedAvailabilityZoneException withErrorCode(String errorCode)
errorCode
- The new value for the ErrorCode property for this object.Copyright © 2015. All rights reserved.