Class TextWebException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.ws.rs.WebApplicationException
com.peterphi.std.guice.web.rest.exception.TextWebException
- All Implemented Interfaces:
Serializable
public class TextWebException
extends javax.ws.rs.WebApplicationException
A text/plain WebApplicationException
N.B. clients will not be able to catch this exception type client-side!
N.B. clients will not be able to catch this exception type client-side!
- See Also:
-
Constructor Summary
ConstructorDescriptionTextWebException
(int status, String detail) TextWebException
(int status, String detail, Throwable cause) TextWebException
(String detail) TextWebException
(String detail, Throwable cause) -
Method Summary
Methods inherited from class javax.ws.rs.WebApplicationException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TextWebException
-
TextWebException
-
TextWebException
-
TextWebException
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-