Class ConstraintViolationExceptionMapper
- java.lang.Object
-
- org.projectnessie.services.restjavax.BaseExceptionMapper<javax.validation.ConstraintViolationException>
-
- org.projectnessie.services.restjavax.ConstraintViolationExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.validation.ConstraintViolationException>
@Provider public class ConstraintViolationExceptionMapper extends BaseExceptionMapper<javax.validation.ConstraintViolationException>
"Special" implementation for exceptions that extendConstraintViolationException, as those do not "go through"NessieExceptionMapperand also not through theValidationExceptionMapper.
-
-
Constructor Summary
Constructors Constructor Description ConstraintViolationExceptionMapper()ConstraintViolationExceptionMapper(org.projectnessie.services.config.ServerConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsetoResponse(javax.validation.ConstraintViolationException exception)-
Methods inherited from class org.projectnessie.services.restjavax.BaseExceptionMapper
buildBadRequestResponse, buildExceptionResponse, buildExceptionResponse
-
-