|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExceptionMapper<E>
Contract for a provider that maps Java exceptions to
Response. An implementation of this interface must
be annotated with Provider.
Provider,
Response| Method Summary | |
|---|---|
Response |
toResponse(E exception)
Map an exception to a Response. |
| Method Detail |
|---|
Response toResponse(E exception)
Response.
exception - the exception to map to a response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||