A client-side processing runtime exception. The exception is thrown during HTTP request invocation processing, to signal a failure to process the HTTP request or response. The exception message or nested {@link Throwable} cause SHOULD contain additional informationabout the reason of the processing failure.
Note that the exception is used to indicate client-side processing errors. It is not used to indicate errors received in a response from a server. For the cases when a response returned by a server does not contain a {@link javax.ws.rs.core.Response.Status.Family#SUCCESSFUL successful} responsestatus code a {@link javax.ws.rs.WebApplicationException} or one of it's sub-classesis used, depending on the actual value of the returned response status code.
@author Marek Potociar
@since 2.0