Class AbortException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ws.rs.ProcessingException
org.glassfish.jersey.client.AbortException
All Implemented Interfaces:
Serializable

class AbortException extends javax.ws.rs.ProcessingException
Internal exception indicating that request processing has been aborted in the request filter processing chain.
See Also:
  • ClientRequestContext.abortWith(javax.ws.rs.core.Response)
  • Field Details

    • abortResponse

      private final transient ClientResponse abortResponse
  • Constructor Details

    • AbortException

      AbortException(ClientResponse abortResponse)
      Create new abort exception.
      Parameters:
      abortResponse - abort response.
  • Method Details

    • getAbortResponse

      public ClientResponse getAbortResponse()
      Get the abort response that caused this exception.
      Returns:
      abort response.