public interface ExceptionMappers
ExceptionMapper instances that can be used
to map exceptions to responses.| Modifier and Type | Method and Description |
|---|---|
<T extends Throwable> |
find(Class<T> type)
Get an exception mapping provider for a particular class of exception.
|
<T extends Throwable> ExceptionMapper<T> find(Class<T> type)
type.T - type of the exception handled by the exception mapping provider.type - the class of exception.ExceptionMapper for the supplied type or null
if none is found.Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.