@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AWSBackupGatewayException
A resource that is required for the action wasn't found.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceNotFoundException(String message)
Constructs a new ResourceNotFoundException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
A description of which resource wasn't found.
|
void |
setErrorCode(String errorCode)
A description of which resource wasn't found.
|
ResourceNotFoundException |
withErrorCode(String errorCode)
A description of which resource wasn't found.
|
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceNotFoundException(String message)
message
- Describes the error encountered.public void setErrorCode(String errorCode)
A description of which resource wasn't found.
setErrorCode
in class AmazonServiceException
errorCode
- A description of which resource wasn't found.public String getErrorCode()
A description of which resource wasn't found.
getErrorCode
in class AmazonServiceException
public ResourceNotFoundException withErrorCode(String errorCode)
A description of which resource wasn't found.
errorCode
- A description of which resource wasn't found.