Package org.glassfish.jersey.client
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet 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
-
Field Details
-
abortResponse
-
-
Constructor Details
-
AbortException
AbortException(ClientResponse abortResponse) Create new abort exception.- Parameters:
abortResponse
- abort response.
-
-
Method Details
-
getAbortResponse
Get the abort response that caused this exception.- Returns:
- abort response.
-