Example usage for Java com.amazonaws.services.s3.model AmazonS3Exception fields, constructors, methods, implement or subclass
The text is from its open source code.
AmazonS3Exception(String message) Constructs a new AmazonS3Exception with the specified message. | |
AmazonS3Exception(String message, Exception cause) Constructs a new AmazonS3Exception with the specified message and root cause. | |
AmazonS3Exception(String message, String errorResponseXml) Constructs a new AmazonS3Exception with the specified message and error response xml from Amazon S3. |
Map | getAdditionalDetails() Returns any additional information retrieved in the error response. |
String | getErrorCode() Returns the AWS error code represented by this exception. |
String | getErrorResponseXml() Returns the error XML received in the HTTP Response or null if the exception is constructed from the headers. |
ErrorType | getErrorType() Indicates who is responsible for this exception (caller, service, or unknown). |
String | getMessage() |
int | getStatusCode() Returns the HTTP status code that was returned with this service exception. |
void | setErrorCode(String errorCode) Sets the AWS error code represented by this exception. |
void | setServiceName(String serviceName) Sets the name of the service that sent this error response. |
void | setStatusCode(int statusCode) Sets the HTTP status code that was returned with this service exception. |
String | toString() Extends the implementation from AmazonServiceException to include additional information on S3's extended request ID. |