org.jclouds.atmos
Class AtmosResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jclouds.http.HttpResponseException
                  extended by org.jclouds.atmos.AtmosResponseException
All Implemented Interfaces:
Serializable

public class AtmosResponseException
extends HttpResponseException

Encapsulates an Error from Atmos Storage Services.

Author:
Adrian Cole
See Also:
AtmosError, ParseAtmosErrorFromXmlContent, Serialized Form

Field Summary
 
Fields inherited from class org.jclouds.http.HttpResponseException
command, response
 
Constructor Summary
AtmosResponseException(HttpCommand command, HttpResponse response, AtmosError error)
           
AtmosResponseException(HttpCommand command, HttpResponse response, AtmosError error, Throwable cause)
           
AtmosResponseException(String message, HttpCommand command, HttpResponse response, AtmosError error)
           
AtmosResponseException(String message, HttpCommand command, HttpResponse response, AtmosError error, Throwable cause)
           
 
Method Summary
 AtmosError getError()
           
 void setError(AtmosError error)
           
 
Methods inherited from class org.jclouds.http.HttpResponseException
getCommand, getContent, getResponse, setContent
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

AtmosResponseException

public AtmosResponseException(HttpCommand command,
                              HttpResponse response,
                              AtmosError error)

AtmosResponseException

public AtmosResponseException(HttpCommand command,
                              HttpResponse response,
                              AtmosError error,
                              Throwable cause)

AtmosResponseException

public AtmosResponseException(String message,
                              HttpCommand command,
                              HttpResponse response,
                              AtmosError error)

AtmosResponseException

public AtmosResponseException(String message,
                              HttpCommand command,
                              HttpResponse response,
                              AtmosError error,
                              Throwable cause)
Method Detail

setError

public void setError(AtmosError error)

getError

public AtmosError getError()


Copyright © 2009-2011 jclouds. All Rights Reserved.