|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.amazonaws.a2s.AmazonA2SException
public class AmazonA2SException
Amazon A2S Exception provides details of errors returned by Amazon A2S service
| Constructor Summary | |
|---|---|
AmazonA2SException(java.lang.String message)
Constructs AmazonA2SException with message |
|
AmazonA2SException(java.lang.String message,
int statusCode)
Constructs AmazonA2SException with message and status code |
|
AmazonA2SException(java.lang.String message,
int statusCode,
java.lang.String errorCode,
java.lang.String requestId,
java.lang.String xml)
Constructs AmazonA2SException with information available from service |
|
AmazonA2SException(java.lang.String message,
java.lang.Throwable t)
Constructs AmazonA2SException with message and wrapped exception |
|
AmazonA2SException(java.lang.Throwable t)
Constructs AmazonA2SException with wrapped exception |
|
| Method Summary | |
|---|---|
java.lang.String |
getErrorCode()
Gets error code returned by the service if available. |
java.lang.String |
getMessage()
Gets error message |
java.lang.String |
getRequestId()
Gets Request ID returned by the service if available. |
int |
getStatusCode()
Gets status code returned by the service if available. |
java.lang.String |
getXML()
Gets XML returned by the service if available. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AmazonA2SException(java.lang.String message)
message - Overview of error
public AmazonA2SException(java.lang.String message,
int statusCode)
message - Overview of errorstatusCode - HTTP status code for error responsepublic AmazonA2SException(java.lang.Throwable t)
t - wrapped exception
public AmazonA2SException(java.lang.String message,
java.lang.Throwable t)
message - Overview of errort - wrapped exception
public AmazonA2SException(java.lang.String message,
int statusCode,
java.lang.String errorCode,
java.lang.String requestId,
java.lang.String xml)
message - Overview of errorstatusCode - HTTP status code for error responseerrorCode - Error Code returned by the servicerequestId - Request ID returned by the servicexml - Compete xml found in response| Method Detail |
|---|
public java.lang.String getErrorCode()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic int getStatusCode()
public java.lang.String getXML()
public java.lang.String getRequestId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||