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.
- Author:
- Adrian Cole
- See Also:
- ,
AWSError
,
ParseAWSErrorFromXmlContent
,
Serialized Form
Constructor Summary |
AWSResponseException(HttpCommand command,
HttpResponse response,
AWSError error)
|
AWSResponseException(HttpCommand command,
HttpResponse response,
AWSError error,
Throwable cause)
|
AWSResponseException(String message,
HttpCommand command,
HttpResponse response,
AWSError error)
|
AWSResponseException(String message,
HttpCommand command,
HttpResponse response,
AWSError error,
Throwable cause)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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)
setError
public void setError(AWSError error)
getError
public AWSError getError()
Copyright © 2009-2011 jclouds. All Rights Reserved.