public class AmazonS3Exception extends AmazonServiceException
AmazonServiceException.ErrorType
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
String |
getExtendedRequestId()
Gets Amazon S3's extended request ID.
|
void |
setExtendedRequestId(String extendedRequestId)
Sets Amazon S3's extended request ID.
|
String |
toString()
Extends the implementation from AmazonServiceException to include
additional information on S3's extended request ID.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AmazonS3Exception(String message)
AmazonS3Exception
with the specified message.message
- The error message describing why this exception was thrown.AmazonS3Exception(String, Exception)
public AmazonS3Exception(String message, Exception cause)
AmazonS3Exception
with the specified message and root
cause.message
- The error message describing why this exception was thrown.cause
- The root exception that caused this exception to be thrown.AmazonS3Exception(String)
public String getExtendedRequestId()
setExtendedRequestId(String)
public void setExtendedRequestId(String extendedRequestId)
extendedRequestId
- S3's extended request ID.getExtendedRequestId()
Copyright © 2014. All rights reserved.