Class PaymentApiExceptionMapper
- java.lang.Object
-
- org.killbill.billing.jaxrs.mappers.ExceptionMapperBase
-
- org.killbill.billing.jaxrs.mappers.PaymentApiExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<PaymentApiException>
@Singleton @Provider public class PaymentApiExceptionMapper extends ExceptionMapperBase implements javax.ws.rs.ext.ExceptionMapper<PaymentApiException>
-
-
Constructor Summary
Constructors Constructor Description PaymentApiExceptionMapper(javax.ws.rs.core.UriInfo uriInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsetoResponse(PaymentApiException 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(PaymentApiException exception)
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<PaymentApiException>
-
-