Class ExceptionMapperBase<E extends Throwable>
- java.lang.Object
-
- com.tietoevry.quarkus.resteasy.problem.ExceptionMapperBase<E>
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<E>
- Direct Known Subclasses:
AuthenticationCompletionExceptionMapper,AuthenticationFailedExceptionMapper,AuthenticationRedirectExceptionMapper,ConstraintViolationExceptionMapper,DefaultExceptionMapper,ForbiddenExceptionMapper,HttpProblemMapper,InvalidFormatExceptionMapper,JaxRsForbiddenExceptionMapper,JsonbExceptionMapper,JsonProcessingExceptionMapper,NotFoundExceptionMapper,RestEasyClassicJsonbExceptionMapper,UnauthorizedExceptionMapper,UnrecognizedPropertyExceptionMapper,ValidationExceptionMapper,WebApplicationExceptionMapper,ZalandoProblemMapper
public abstract class ExceptionMapperBase<E extends Throwable> extends Object implements javax.ws.rs.ext.ExceptionMapper<E>
Base class for all ExceptionMappers in this extension, takes care of mapping Exceptions to Problems, triggering post-processing stage, and creating final JaxRS Response.
-
-
Field Summary
Fields Modifier and Type Field Description static PostProcessorsRegistrypostProcessorsRegistry
-
Constructor Summary
Constructors Constructor Description ExceptionMapperBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract HttpProblemtoProblem(E exception)javax.ws.rs.core.ResponsetoResponse(E exception)
-
-
-
Field Detail
-
postProcessorsRegistry
public static final PostProcessorsRegistry postProcessorsRegistry
-
-
Method Detail
-
toResponse
public final javax.ws.rs.core.Response toResponse(E exception)
-
toProblem
protected abstract HttpProblem toProblem(E exception)
-
-