Class DirectoryUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
com.amazonaws.services.directory.model.DirectoryUnavailableException
- All Implemented Interfaces:
Serializable
The specified directory is unavailable or could not be found.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AmazonServiceException
AmazonServiceException.ErrorType -
Constructor Summary
ConstructorsConstructorDescriptionDirectoryUnavailableException(String message) Constructs a new DirectoryUnavailableException with the specified error message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the AWS request ID that uniquely identifies the service request the caller made.voidsetRequestId(String requestId) Sets the AWS requestId for this exception.withRequestId(String requestId) Methods inherited from class AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, 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
-
DirectoryUnavailableException
Constructs a new DirectoryUnavailableException with the specified error message.- Parameters:
message- Describes the error encountered.
-
-
Method Details
-
setRequestId
Description copied from class:AmazonServiceExceptionSets the AWS requestId for this exception.- Overrides:
setRequestIdin classAmazonServiceException- Parameters:
requestId-
-
getRequestId
Description copied from class:AmazonServiceExceptionReturns the AWS request ID that uniquely identifies the service request the caller made.- Overrides:
getRequestIdin classAmazonServiceException- Returns:
-
withRequestId
- Parameters:
requestId-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-