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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ClientException(String message)
message - Describes the error encountered.public String getRequestId()
getRequestId in class AmazonServiceExceptionpublic void setRequestId(String requestId)
setRequestId in class AmazonServiceExceptionrequestId - The new value for this object's RequestId property.Copyright © 2015. All rights reserved.