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
public class ClientResponseProcessingException extends jakarta.ws.rs.ProcessingExceptionThis is a representation of a @{link ProcessingException} containing a @{link ClientResponse} instance. This exception is meant to be converted to aResponseProcessingExceptionat a point whereClientResponseis converted to aResponsebefore it is delivered to a user.- Since:
- 2.31
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientResponseProcessingException(ClientResponse clientResponse, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientResponsegetClientResponse()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ClientResponseProcessingException
public ClientResponseProcessingException(ClientResponse clientResponse, Throwable cause)
- Parameters:
clientResponse- aClientResponseto be converted toResponse.cause- a cause of the exception.
-
-
Method Detail
-
getClientResponse
public ClientResponse getClientResponse()
- Returns:
- a
ClientResponseto be converted toResponse.
-
-