Package org.jboss.resteasy.spi
Class ApplicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jboss.resteasy.spi.ApplicationException
-
- All Implemented Interfaces:
Serializable
public final class ApplicationException extends RuntimeException
This exception is thrown internally by Resteasy runtime. Any server exception thrown by jaxrs resource method code will be caught and wrapped by this exception. If you want to catch all exceptions thrown by jaxrs resource methods, write an exception mapper for ApplicationException. This exception should only be used by Resteasy integrators.- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationException(String s, Throwable throwable)
ApplicationException(Throwable throwable)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-