public interface ExceptionMapperContext
ExceptionMapper
instances that can be used
to map exceptions to responses.Modifier and Type | Method and Description |
---|---|
ExceptionMapper |
find(java.lang.Class<? extends java.lang.Throwable> c)
Find an exception mapper for a class of throwable that is capable
of converting a throwable to a response.
|
ExceptionMapper find(java.lang.Class<? extends java.lang.Throwable> c)
c
- the throwable class.Copyright © 2016 Oracle Corporation. All Rights Reserved.