T- A type of the exception processed by the exception mapper.
public interface ExtendedExceptionMapper<T extends Throwable> extends javax.ws.rs.ext.ExceptionMapper<T>
exception mapper interface. The exception mapping providers can extend from this interface to add jersey specific functionality to these providers.
|Modifier and Type||Method and Description|
Determine whether this provider is able to process a supplied exception instance.
boolean isMappable(T exception)
This method is called only on those exception mapping providers that are able to
process the type of the
exception as defined by the JAX-RS
ExceptionMapper contract. By returning
false this method can reject
any given exception instance and change the default JAX-RS exception mapper
exception- exception instance which should be processed.
trueif the mapper is able to map the particular exception instance,
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.