public class MappableException extends ProcessingException
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 and Description |
|---|
MappableException(String message,
Throwable cause)
Construct a new mappable exception with the supplied message and cause.
|
MappableException(Throwable cause)
Construct a mappable container exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MappableException(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.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.