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:
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)
-
-
Field Summary
Fields Modifier and Type Field Description private ClientResponse
abortResponse
-
Constructor Summary
Constructors Constructor Description AbortException(ClientResponse abortResponse)
Create new abort exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientResponse
getAbortResponse()
Get the abort response that caused this exception.
-
-
-
Field Detail
-
abortResponse
private final transient ClientResponse abortResponse
-
-
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.
-
-