Class DefaultExceptionMapper
java.lang.Object
io.github.belgif.rest.problem.ee.jaxrs.DefaultExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Exception>
@Provider
public class DefaultExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<Exception>
Default ExceptionMapper for mapping unhandled exceptions to InternalServerErrorProblem.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultExceptionMapper
public DefaultExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<Exception>
-