Class NotFoundExceptionMapper
java.lang.Object
io.github.belgif.rest.problem.ee.jaxrs.AbstractUnwrappingExceptionMapper<javax.ws.rs.NotFoundException>
io.github.belgif.rest.problem.ee.jaxrs.NotFoundExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotFoundException>
@Provider
public class NotFoundExceptionMapper
extends AbstractUnwrappingExceptionMapper<javax.ws.rs.NotFoundException>
Exception mapper for
NotFoundException, with special handling for unwrapping BadRequestProblem
cause thrown by ParamConverter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected javax.ws.rs.core.ResponsetoDefaultResponse(javax.ws.rs.NotFoundException exception) Methods inherited from class io.github.belgif.rest.problem.ee.jaxrs.AbstractUnwrappingExceptionMapper
toResponse
-
Constructor Details
-
NotFoundExceptionMapper
public NotFoundExceptionMapper()
-
-
Method Details
-
toDefaultResponse
protected javax.ws.rs.core.Response toDefaultResponse(javax.ws.rs.NotFoundException exception) - Specified by:
toDefaultResponsein classAbstractUnwrappingExceptionMapper<javax.ws.rs.NotFoundException>
-