Package org.jclouds.aws
Class AWSResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jclouds.http.HttpResponseException
org.jclouds.aws.AWSResponseException
- All Implemented Interfaces:
Serializable
Encapsulates an AWS Error from Amazon.
- See Also:
-
Field Summary
Fields inherited from class org.jclouds.http.HttpResponseException
command, response
-
Constructor Summary
ConstructorsConstructorDescriptionAWSResponseException
(String message, HttpCommand command, HttpResponse response, AWSError error) AWSResponseException
(String message, HttpCommand command, HttpResponse response, AWSError error, Throwable cause) AWSResponseException
(HttpCommand command, HttpResponse response, AWSError error) AWSResponseException
(HttpCommand command, HttpResponse response, AWSError error, Throwable cause) -
Method Summary
Methods inherited from class org.jclouds.http.HttpResponseException
getCommand, getContent, getResponse, setContent
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AWSResponseException
-
AWSResponseException
public AWSResponseException(HttpCommand command, HttpResponse response, AWSError error, Throwable cause) -
AWSResponseException
public AWSResponseException(String message, HttpCommand command, HttpResponse response, AWSError error) -
AWSResponseException
public AWSResponseException(String message, HttpCommand command, HttpResponse response, AWSError error, Throwable cause)
-
-
Method Details
-
setError
-
getError
-