public final class JaxRxException
extends javax.ws.rs.WebApplicationException
Constructor and Description |
---|
JaxRxException(Exception exception)
Constructor, wrapping the specified exception and setting 500 as HTTP
status code.
|
JaxRxException(int status,
String message)
Constructs a new exception with the given HTTP status code and status
message.
|
JaxRxException(javax.ws.rs.core.Response response)
Constructor, using a
Response reference. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JaxRxException(int status, String message)
status
- HTTP status codemessage
- status messagepublic JaxRxException(Exception exception)
exception
- exception to be wrappedpublic JaxRxException(javax.ws.rs.core.Response response)
Response
reference.response
- response to be passed onCopyright © 2013. All Rights Reserved.