Class ClientResponseProcessingException

  • All Implemented Interfaces:
    Serializable

    public class ClientResponseProcessingException
    extends jakarta.ws.rs.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:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • 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.