public class MountTargetNotFoundException extends AmazonServiceException
Returned if there is no mount target with the specified ID found in the caller's account.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
MountTargetNotFoundException(String message)
Constructs a new MountTargetNotFoundException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Returns the AWS error code represented by this exception.
|
void |
setErrorCode(String errorCode)
Sets the AWS error code represented by this exception.
|
MountTargetNotFoundException |
withErrorCode(String errorCode) |
getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MountTargetNotFoundException(String message)
message - Describes the error encountered.public void setErrorCode(String errorCode)
AmazonServiceExceptionsetErrorCode in class AmazonServiceExceptionerrorCode - public String getErrorCode()
AmazonServiceExceptiongetErrorCode in class AmazonServiceExceptionpublic MountTargetNotFoundException withErrorCode(String errorCode)
errorCode - Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.