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