Class LiteralRestResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ws.rs.WebApplicationException
com.peterphi.std.guice.web.rest.jaxrs.exception.LiteralRestResponseException
- All Implemented Interfaces:
Serializable
public class LiteralRestResponseException
extends javax.ws.rs.WebApplicationException
An exception that contains the exact Response that should be sent back to the client
- See Also:
-
Constructor Summary
ConstructorDescriptionLiteralRestResponseException
(javax.ws.rs.core.Response response) LiteralRestResponseException
(javax.ws.rs.core.Response response, Throwable cause) -
Method Summary
Methods inherited from class javax.ws.rs.WebApplicationException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LiteralRestResponseException
public LiteralRestResponseException(javax.ws.rs.core.Response response) -
LiteralRestResponseException
-