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