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, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FileSystemInUseException(String message)
message - Describes the error encountered.public void setErrorCode(String errorCode)
setErrorCode in class AmazonServiceExceptionerrorCode - The new value for the ErrorCode property for this object.public String getErrorCode()
getErrorCode in class AmazonServiceExceptionpublic FileSystemInUseException withErrorCode(String errorCode)
errorCode - The new value for the ErrorCode property for this object.Copyright © 2015. All rights reserved.