Class NotFoundExceptionMapper
java.lang.Object
io.github.belgif.rest.problem.ee.server.jaxrs.AbstractUnwrappingExceptionMapper<jakarta.ws.rs.NotFoundException>
io.github.belgif.rest.problem.ee.server.jaxrs.NotFoundExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.NotFoundException>
@Provider
public class NotFoundExceptionMapper
extends AbstractUnwrappingExceptionMapper<jakarta.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 jakarta.ws.rs.core.ResponsetoDefaultResponse(jakarta.ws.rs.NotFoundException exception) Methods inherited from class io.github.belgif.rest.problem.ee.server.jaxrs.AbstractUnwrappingExceptionMapper
toResponse
-
Constructor Details
-
NotFoundExceptionMapper
public NotFoundExceptionMapper()
-
-
Method Details
-
toDefaultResponse
protected jakarta.ws.rs.core.Response toDefaultResponse(jakarta.ws.rs.NotFoundException exception) - Specified by:
toDefaultResponsein classAbstractUnwrappingExceptionMapper<jakarta.ws.rs.NotFoundException>
-