public class FileSystemInUseException extends AmazonServiceException
Returned if a file system has mount targets.
AmazonServiceException.ErrorType
Constructor and Description |
---|
FileSystemInUseException(String message)
Constructs a new FileSystemInUseException 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.
|
FileSystemInUseException |
withErrorCode(String errorCode)
Sets the value of the ErrorCode property for this object.
|
getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FileSystemInUseException(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 FileSystemInUseException withErrorCode(String errorCode)
errorCode
- The new value for the ErrorCode property for this object.Copyright © 2015. All rights reserved.