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