org.jclouds.trmk.vcloud_0_8
Class VCloudResponseException

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.trmk.vcloud_0_8.VCloudResponseException
All Implemented Interfaces:
Serializable

public class VCloudResponseException
extends HttpResponseException

Encapsulates an VCloud Error.

Author:
Adrian Cole
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jclouds.http.HttpResponseException
command, response
 
Constructor Summary
VCloudResponseException(HttpCommand command, HttpResponse response, VCloudError error)
           
VCloudResponseException(HttpCommand command, HttpResponse response, VCloudError error, Throwable cause)
           
VCloudResponseException(String message, HttpCommand command, HttpResponse response, VCloudError error)
           
VCloudResponseException(String message, HttpCommand command, HttpResponse response, VCloudError error, Throwable cause)
           
 
Method Summary
 VCloudError getError()
           
 void setError(VCloudError 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

VCloudResponseException

public VCloudResponseException(HttpCommand command,
                               HttpResponse response,
                               VCloudError error)

VCloudResponseException

public VCloudResponseException(HttpCommand command,
                               HttpResponse response,
                               VCloudError error,
                               Throwable cause)

VCloudResponseException

public VCloudResponseException(String message,
                               HttpCommand command,
                               HttpResponse response,
                               VCloudError error)

VCloudResponseException

public VCloudResponseException(String message,
                               HttpCommand command,
                               HttpResponse response,
                               VCloudError error,
                               Throwable cause)
Method Detail

setError

public void setError(VCloudError error)

getError

public VCloudError getError()


Copyright © 2009-2011 jclouds. All Rights Reserved.