|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectCatchallExceptionMapper
@Provider public class CatchallExceptionMapper
Map all exceptions to the Jersey response. This lets us have nice results in the error body.
| Constructor Summary | |
|---|---|
CatchallExceptionMapper()
|
|
| Method Summary | |
|---|---|
Response |
toResponse(Exception e)
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CatchallExceptionMapper()
| Method Detail |
|---|
public Response toResponse(Exception e)
toResponse in interface ExceptionMapper<Exception>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||