Java com.amazonaws.services.s3.model AmazonS3Exception fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.s3.model AmazonS3Exception fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.s3.model AmazonS3Exception.

The text is from its open source code.

Constructor

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.

Method

MapgetAdditionalDetails()
Returns any additional information retrieved in the error response.
StringgetErrorCode()
Returns the AWS error code represented by this exception.
StringgetErrorResponseXml()
Returns the error XML received in the HTTP Response or null if the exception is constructed from the headers.
ErrorTypegetErrorType()
Indicates who is responsible for this exception (caller, service, or unknown).
StringgetMessage()
intgetStatusCode()
Returns the HTTP status code that was returned with this service exception.
voidsetErrorCode(String errorCode)
Sets the AWS error code represented by this exception.
voidsetServiceName(String serviceName)
Sets the name of the service that sent this error response.
voidsetStatusCode(int statusCode)
Sets the HTTP status code that was returned with this service exception.
StringtoString()
Extends the implementation from AmazonServiceException to include additional information on S3's extended request ID.