Class BambooRuntimeExceptionMapper
- java.lang.Object
-
- com.atlassian.bamboo.rest.common.exception.AbstractExceptionMapper<RuntimeException>
-
- com.atlassian.bamboo.plugins.rest.common.exception.BambooRuntimeExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<RuntimeException>
@Provider public class BambooRuntimeExceptionMapper extends AbstractExceptionMapper<RuntimeException>
An exception mapper that will map anyruntime exception
. Handles the special case ofWebApplicationException
, which provides its own response.
-
-
Constructor Summary
Constructors Constructor Description BambooRuntimeExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(RuntimeException e)
-
Methods inherited from class com.atlassian.bamboo.rest.common.exception.AbstractExceptionMapper
getMediaType, never
-
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(RuntimeException e)
-
-