BaseException instead.@Deprecated public class BaseException extends AmazonServiceException
An error occurred while processing the request.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
BaseException(String message)
Deprecated.
Constructs a new BaseException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Deprecated.
Returns the value of the Code property for this object.
|
void |
setCode(String code)
Deprecated.
Sets the value of the Code property for this object.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BaseException(String message)
message - Describes the error encountered.public String getCode()
public void setCode(String code)
code - The new value for this object's Code property.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.