Class AbortException

  • All Implemented Interfaces:
    java.io.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)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ClientResponse getAbortResponse()
      Get the abort response that caused this exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • AbortException

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

      • getAbortResponse

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