org.apache.wink.client
Class ClientWebException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wink.client.ClientRuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ClientWebException
public ClientWebException(ClientRequest request,
ClientResponse response)
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.