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