Package org.jclouds.atmos
Class AtmosResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jclouds.http.HttpResponseException
-
- org.jclouds.atmos.AtmosResponseException
-
- All Implemented Interfaces:
Serializable
public class AtmosResponseException extends org.jclouds.http.HttpResponseExceptionEncapsulates an Error from Atmos Storage Services.- See Also:
AtmosError,ParseAtmosErrorFromXmlContent, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AtmosResponseException(String message, org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, AtmosError error)AtmosResponseException(String message, org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, AtmosError error, Throwable cause)AtmosResponseException(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, AtmosError error)AtmosResponseException(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, AtmosError error, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtmosErrorgetError()voidsetError(AtmosError 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
-
AtmosResponseException
public AtmosResponseException(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, AtmosError error)
-
AtmosResponseException
public AtmosResponseException(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, AtmosError error, Throwable cause)
-
AtmosResponseException
public AtmosResponseException(String message, org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, AtmosError error)
-
AtmosResponseException
public AtmosResponseException(String message, org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response, AtmosError error, Throwable cause)
-
-
Method Detail
-
setError
public void setError(AtmosError error)
-
getError
@Nullable public AtmosError getError()
-
-