Package io.quarkiverse.httpproblem.jaxrs
Class WebApplicationExceptionMapper
java.lang.Object
io.quarkiverse.httpproblem.ExceptionMapperBase<jakarta.ws.rs.WebApplicationException>
io.quarkiverse.httpproblem.jaxrs.WebApplicationExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.WebApplicationException>
@Priority(5000)
public final class WebApplicationExceptionMapper
extends ExceptionMapperBase<jakarta.ws.rs.WebApplicationException>
Generic exception mapper for JaxRS WebApplicationExceptions - it passes status and message to application/problem response.
-
Constructor Summary
ConstructorsConstructorDescriptionWebApplicationExceptionMapper(PostProcessorsRegistry postProcessorsRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpProblemtoProblem(jakarta.ws.rs.WebApplicationException exception) Methods inherited from class io.quarkiverse.httpproblem.ExceptionMapperBase
toResponse
-
Constructor Details
-
WebApplicationExceptionMapper
public WebApplicationExceptionMapper() -
WebApplicationExceptionMapper
-
-
Method Details
-
toProblem
- Specified by:
toProblemin classExceptionMapperBase<jakarta.ws.rs.WebApplicationException>
-