Serializable
public class S3ServiceException extends ServiceException
S3Service
s and related utilities.
This exception can hold useful additional information about errors that occur
when communicating with S3.Constructor | Description |
---|---|
S3ServiceException() |
|
S3ServiceException(String message) |
|
S3ServiceException(String message,
String xmlMessage) |
Constructor that includes the XML error document returned by S3.
|
S3ServiceException(String message,
Throwable cause) |
|
S3ServiceException(Throwable cause) |
|
S3ServiceException(ServiceException se) |
Wrap a ServiceException as an S3ServiceException.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getS3ErrorCode() |
|
String |
getS3ErrorHostId() |
|
String |
getS3ErrorMessage() |
|
String |
getS3ErrorRequestId() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getErrorCode, getErrorHostId, getErrorMessage, getErrorRequestId, getRequestHost, getRequestPath, getRequestVerb, getResponseCode, getResponseDate, getResponseHeaders, getResponseStatus, getXmlMessage, getXmlMessageAsBuilder, isParsedFromXmlMessage, setErrorCode, setErrorHostId, setErrorMessage, setErrorRequestId, setRequestAndHostIds, setRequestHost, setRequestPath, setRequestVerb, setResponseCode, setResponseDate, setResponseHeaders, setResponseStatus, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public S3ServiceException(String message, String xmlMessage)
message
- xmlMessage
- public S3ServiceException()
public S3ServiceException(String message)
public S3ServiceException(Throwable cause)
public S3ServiceException(ServiceException se)
se
- public String getS3ErrorCode()
public String getS3ErrorMessage()
public String getS3ErrorHostId()
public String getS3ErrorRequestId()