|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExceptionMappers
Provides lookup of ExceptionMapper instances that can be used
to map exceptions to responses.
| Method Summary | ||
|---|---|---|
|
find(java.lang.Class<T> type)
Get an exception mapping provider for a particular class of exception. |
|
| Method Detail |
|---|
<T extends java.lang.Throwable> ExceptionMapper<T> find(java.lang.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||