Class ValidationExceptionMapper
- java.lang.Object
-
- com.tietoevry.quarkus.resteasy.problem.ExceptionMapperBase<jakarta.validation.ValidationException>
-
- com.tietoevry.quarkus.resteasy.problem.validation.ValidationExceptionMapper
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<jakarta.validation.ValidationException>
@Priority(5000) public final class ValidationExceptionMapper extends ExceptionMapperBase<jakarta.validation.ValidationException>
Exception Mapper for generic ValidationException from Bean Validation API. Unlike ConstraintViolationException these are not thrown if the input fails validation, but are instead thrown on invalid use of the API.
-
-
Field Summary
-
Fields inherited from class com.tietoevry.quarkus.resteasy.problem.ExceptionMapperBase
postProcessorsRegistry
-
-
Constructor Summary
Constructors Constructor Description ValidationExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HttpProblemtoProblem(jakarta.validation.ValidationException exception)-
Methods inherited from class com.tietoevry.quarkus.resteasy.problem.ExceptionMapperBase
toResponse
-
-
-
-
Method Detail
-
toProblem
protected HttpProblem toProblem(jakarta.validation.ValidationException exception)
- Specified by:
toProblemin classExceptionMapperBase<jakarta.validation.ValidationException>
-
-