Class IncorrectFileSystemLifeCycleStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
com.amazonaws.services.elasticfilesystem.model.IncorrectFileSystemLifeCycleStateException
- All Implemented Interfaces:
Serializable
Returned if the file system's life cycle state is not "created".
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AmazonServiceException
AmazonServiceException.ErrorType -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new IncorrectFileSystemLifeCycleStateException with the specified error message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the AWS error code represented by this exception.voidsetErrorCode(String errorCode) Sets the AWS error code represented by this exception.withErrorCode(String errorCode) Methods inherited from class AmazonServiceException
getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeMethods inherited from class AmazonClientException
isRetryableMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IncorrectFileSystemLifeCycleStateException
Constructs a new IncorrectFileSystemLifeCycleStateException with the specified error message.- Parameters:
message- Describes the error encountered.
-
-
Method Details
-
setErrorCode
Description copied from class:AmazonServiceExceptionSets the AWS error code represented by this exception.- Overrides:
setErrorCodein classAmazonServiceException- Parameters:
errorCode-
-
getErrorCode
Description copied from class:AmazonServiceExceptionReturns the AWS error code represented by this exception.- Overrides:
getErrorCodein classAmazonServiceException- Returns:
-
withErrorCode
- Parameters:
errorCode-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-