Class ApiExceptionMapper
- java.lang.Object
-
- org.sdase.commons.server.jackson.errors.ApiExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.sdase.commons.shared.api.error.ApiException>
public class ApiExceptionMapper extends java.lang.Object implements javax.ws.rs.ext.ExceptionMapper<org.sdase.commons.shared.api.error.ApiException>
Exception Mapper forApiException
that should be used within the business logic to inform the clients about problems during processing
-
-
Constructor Summary
Constructors Constructor Description ApiExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(org.sdase.commons.shared.api.error.ApiException e)
-