|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.jersey.internal.ProcessingException
org.glassfish.jersey.internal.MappableException
public class MappableException
A runtime exception that contains a cause, a checked or runtime exception,
that may be mapped to a Response instance.
The runtime will catch such exceptions and attempt to map the cause
exception to a registered ExceptionMapper that
provides an appropriate Response instance.
| Constructor Summary | |
|---|---|
MappableException(java.lang.Throwable cause)
Construct a mappable container exception. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MappableException(java.lang.Throwable cause)
cause - the cause. If the cause is an instance of
MappableException then the cause of this exception
will be obtained by recursively searching though the exception
causes until a cause is obtained that is not an instance of
MappableException.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||