public class FileSystemAlreadyExistsException extends AmazonServiceException
Returned if the file system you are trying to create already exists, with the creation token you provided.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
errorCode |
private java.lang.String |
fileSystemId |
private static long |
serialVersionUID |
Constructor and Description |
---|
FileSystemAlreadyExistsException(java.lang.String message)
Constructs a new FileSystemAlreadyExistsException with the specified
error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCode()
Returns the AWS error code represented by this exception.
|
java.lang.String |
getFileSystemId() |
void |
setErrorCode(java.lang.String errorCode)
Sets the AWS error code represented by this exception.
|
void |
setFileSystemId(java.lang.String fileSystemId) |
FileSystemAlreadyExistsException |
withErrorCode(java.lang.String errorCode) |
FileSystemAlreadyExistsException |
withFileSystemId(java.lang.String fileSystemId) |
getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String errorCode
private java.lang.String fileSystemId
public FileSystemAlreadyExistsException(java.lang.String message)
message
- Describes the error encountered.public void setErrorCode(java.lang.String errorCode)
AmazonServiceException
setErrorCode
in class AmazonServiceException
errorCode
- public java.lang.String getErrorCode()
AmazonServiceException
getErrorCode
in class AmazonServiceException
public FileSystemAlreadyExistsException withErrorCode(java.lang.String errorCode)
errorCode
- public void setFileSystemId(java.lang.String fileSystemId)
fileSystemId
- public java.lang.String getFileSystemId()
public FileSystemAlreadyExistsException withFileSystemId(java.lang.String fileSystemId)
fileSystemId
-