Class RuntimeExceptionMapper
- java.lang.Object
-
- org.killbill.billing.jaxrs.mappers.ExceptionMapperBase
-
- org.killbill.billing.jaxrs.mappers.RuntimeExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<RuntimeException>
@Singleton @Provider public class RuntimeExceptionMapper extends ExceptionMapperBase implements javax.ws.rs.ext.ExceptionMapper<RuntimeException>
-
-
Constructor Summary
Constructors Constructor Description RuntimeExceptionMapper(javax.ws.rs.core.UriInfo uriInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsetoResponse(RuntimeException exception)-
Methods inherited from class org.killbill.billing.jaxrs.mappers.ExceptionMapperBase
buildAuthorizationErrorResponse, buildBadRequestResponse, buildConflictingRequestResponse, buildInternalErrorResponse, buildNotFoundResponse, buildPluginTimeoutResponse, fallback, serializeException
-
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(RuntimeException exception)
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<RuntimeException>
-
-