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 ProcessingException
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 Details

    • ClientResponseProcessingException

      public ClientResponseProcessingException(ClientResponse clientResponse, Throwable cause)
      An instance of ClientResponseProcessingException containing ClientResponse and cause Throwable.
      Parameters:
      clientResponse - a ClientResponse to be converted to Response.
      cause - a cause of the exception.
  • Method Details

    • getClientResponse

      public ClientResponse getClientResponse()
      Return a ClientResponse to be converted to Response to be put to a ResponseProcessingException.
      Returns:
      a ClientResponse to be converted to Response.