|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugins.rest.common.error.jersey.ThrowableExceptionMapper
@Provider public class ThrowableExceptionMapper
A generic exception mapper that will map any throwable. Handles the special case of
WebApplicationException, which provides its own response.
| Constructor Summary | |
|---|---|
ThrowableExceptionMapper()
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
toResponse(java.lang.Throwable t)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThrowableExceptionMapper()
| Method Detail |
|---|
public javax.ws.rs.core.Response toResponse(java.lang.Throwable t)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||