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
public class AWSResponseException extends HttpResponseException
Encapsulates an AWS Error from Amazon.- See Also:
- ,
AWSError
,ParseAWSErrorFromXmlContent
, Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jclouds.http.HttpResponseException
command, response
-
-
Constructor Summary
Constructors Constructor Description AWSResponseException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AWSError
getError()
void
setError(AWSError error)
-
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 Detail
-
AWSResponseException
public AWSResponseException(HttpCommand command, HttpResponse response, AWSError error)
-
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)
-
-