public class IncorrectMountTargetStateException extends AmazonServiceException
Returned if the mount target is not in the correct state for the operation.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| IncorrectMountTargetStateException(String message)Constructs a new IncorrectMountTargetStateException 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. | 
getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IncorrectMountTargetStateException(String message)
message - Describes the error encountered.public String getErrorCode()
getErrorCode in class AmazonServiceExceptionpublic void setErrorCode(String errorCode)
setErrorCode in class AmazonServiceExceptionerrorCode - The new value for this object's ErrorCode property.Copyright © 2015. All rights reserved.