Class LoggableFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.resteasy.spi.Failure
org.jboss.resteasy.spi.LoggableFailure
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InternalServerErrorException
,NoMessageBodyWriterFoundFailure
,WriterException
This exception should only be used by Resteasy integrators. Applications code should use WebApplicationException
This is thrown by Resteasy runtime when a failure occurs. It will be logged by the runtime.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLoggableFailure
(int errorCode) LoggableFailure
(String s, int errorCode) LoggableFailure
(String s, jakarta.ws.rs.core.Response response) LoggableFailure
(String s, Throwable throwable) LoggableFailure
(String s, Throwable throwable, int errorCode) LoggableFailure
(String s, Throwable throwable, jakarta.ws.rs.core.Response response) LoggableFailure
(Throwable throwable) LoggableFailure
(Throwable throwable, int errorCode) LoggableFailure
(Throwable throwable, jakarta.ws.rs.core.Response response) -
Method Summary
Methods inherited from class org.jboss.resteasy.spi.Failure
getErrorCode, getResponse, isLoggable, setErrorCode, setLoggable, setResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LoggableFailure
-
LoggableFailure
-
LoggableFailure
-
LoggableFailure
-
LoggableFailure
-
LoggableFailure
-
LoggableFailure
public LoggableFailure(int errorCode) -
LoggableFailure
-
LoggableFailure
-
LoggableFailure
-