org.apache.cxf.jaxrs.client
Class ClientWebApplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.cxf.jaxrs.client.ClientWebApplicationException
- All Implemented Interfaces:
- Serializable
public class ClientWebApplicationException
- extends RuntimeException
This exception indicates that the problem has occurred on the client side only,
possibly as part of processing the successful server response or even before
the request has been sent
- See Also:
- Serialized Form
Method Summary |
javax.ws.rs.core.Response |
getResponse()
Returns the server response if any, for example, if the problem has
occurred during reading the response then this method will return
JAX-RS Response object representing the actual server response |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ClientWebApplicationException
public ClientWebApplicationException()
ClientWebApplicationException
public ClientWebApplicationException(String message)
ClientWebApplicationException
public ClientWebApplicationException(Throwable cause)
ClientWebApplicationException
public ClientWebApplicationException(String message,
Throwable cause,
javax.ws.rs.core.Response response)
getResponse
public javax.ws.rs.core.Response getResponse()
- Returns the server response if any, for example, if the problem has
occurred during reading the response then this method will return
JAX-RS Response object representing the actual server response
- Returns:
- server response, can be null
Apache CXF