Class ClientResponseProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ws.rs.ProcessingException
org.glassfish.jersey.client.internal.ClientResponseProcessingException
- All Implemented Interfaces:
Serializable
This is a representation of a @{link ProcessingException} containing a @{link ClientResponse} instance.
This exception is meant to be converted to a
ResponseProcessingException
at a point where
ClientResponse
is converted to a Response
before it is delivered to a user.- Since:
- 2.31
- See Also:
-
Constructor Summary
ConstructorDescriptionClientResponseProcessingException
(ClientResponse clientResponse, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClientResponseProcessingException
- Parameters:
clientResponse
- aClientResponse
to be converted toResponse
.cause
- a cause of the exception.
-
-
Method Details
-
getClientResponse
- Returns:
- a
ClientResponse
to be converted toResponse
.
-