Class ClientWebException

  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:

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


public ClientWebException(ClientRequest request,
                          ClientResponse response)
Method Detail


public ClientRequest getRequest()
Get the ClientRequest of the invocation

ClientRequest of the invocation


public ClientResponse getResponse()
Get the ClientResponse of the invocation

ClientResponse of the invocation

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