org.apache.wink.client
Class ClientWebException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.wink.client.ClientRuntimeException
                  extended by org.apache.wink.client.ClientWebException
All Implemented Interfaces:
Serializable

public class ClientWebException
extends ClientRuntimeException

An exception that indicates that an http error code was returned from the server

See Also:
Serialized Form

Constructor Summary
ClientWebException(ClientRequest request, ClientResponse response)
           
 
Method Summary
 ClientRequest getRequest()
          Get the ClientRequest of the invocation
 ClientResponse getResponse()
          Get the ClientResponse of the invocation
 
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

ClientWebException

public ClientWebException(ClientRequest request,
                          ClientResponse response)
Method Detail

getRequest

public ClientRequest getRequest()
Get the ClientRequest of the invocation

Returns:
ClientRequest of the invocation

getResponse

public ClientResponse getResponse()
Get the ClientResponse of the invocation

Returns:
ClientResponse of the invocation


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.