public class ClientException extends AmazonServiceException
A client exception has occurred.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ClientException(String message)
Constructs a new ClientException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
String |
getRequestId()
Returns the value of the RequestId property for this object.
|
void |
setRequestId(String requestId)
Sets the value of the RequestId property for this object.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClientException(String message)
message
- Describes the error encountered.public String getRequestId()
getRequestId
in class AmazonServiceException
public void setRequestId(String requestId)
setRequestId
in class AmazonServiceException
requestId
- The new value for this object's RequestId property.Copyright © 2015. All rights reserved.