Package org.jboss.resteasy.spi
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
public class LoggableFailure extends Failure
This exception should only be used by Resteasy integrators. Applications code should use WebApplicationExceptionThis is thrown by Resteasy runtime when a failure occurs. It will be logged by the runtime.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoggableFailure(int errorCode)
LoggableFailure(String s)
LoggableFailure(String s, int errorCode)
LoggableFailure(String s, Throwable throwable)
LoggableFailure(String s, Throwable throwable, int errorCode)
LoggableFailure(String s, Throwable throwable, javax.ws.rs.core.Response response)
LoggableFailure(String s, javax.ws.rs.core.Response response)
LoggableFailure(Throwable throwable)
LoggableFailure(Throwable throwable, int errorCode)
LoggableFailure(Throwable throwable, javax.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 Detail
-
LoggableFailure
public LoggableFailure(String s, javax.ws.rs.core.Response response)
-
LoggableFailure
public LoggableFailure(String s, Throwable throwable, javax.ws.rs.core.Response response)
-
LoggableFailure
public LoggableFailure(Throwable throwable, javax.ws.rs.core.Response response)
-
LoggableFailure
public LoggableFailure(Throwable throwable)
-
LoggableFailure
public LoggableFailure(String s)
-
LoggableFailure
public LoggableFailure(int errorCode)
-
LoggableFailure
public LoggableFailure(String s, int errorCode)
-
LoggableFailure
public LoggableFailure(Throwable throwable, int errorCode)
-
-