Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.http | |
com.amazonaws.services.s3.internal |
Modifier and Type | Field and Description |
---|---|
private AmazonServiceException.ErrorType |
AmazonServiceException.errorType
Indicates (if known) whether this exception was the fault of the caller
or the service.
|
Modifier and Type | Method and Description |
---|---|
AmazonServiceException.ErrorType |
AmazonServiceException.getErrorType()
Indicates who is responsible for this exception (caller, service,
or unknown).
|
static AmazonServiceException.ErrorType |
AmazonServiceException.ErrorType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AmazonServiceException.ErrorType[] |
AmazonServiceException.ErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonServiceException.setErrorType(AmazonServiceException.ErrorType errorType)
Sets the type of error represented by this exception (sender, receiver,
or unknown), indicating if this exception was the caller's fault, or the
service's fault.
|
Modifier and Type | Method and Description |
---|---|
private AmazonServiceException.ErrorType |
JsonErrorResponseHandler.getErrorTypeFromStatusCode(int statusCode) |
Modifier and Type | Method and Description |
---|---|
private AmazonServiceException.ErrorType |
AmazonS3ExceptionBuilder.errorTypeOf(int statusCode)
Returns the AWS error type information by looking at the HTTP status code
in the error response.
|