Class ValidationExceptionMapper
- java.lang.Object
-
- org.projectnessie.services.restjavax.BaseExceptionMapper<javax.validation.ValidationException>
-
- org.projectnessie.services.restjavax.ValidationExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>
@Provider public class ValidationExceptionMapper extends BaseExceptionMapper<javax.validation.ValidationException>
"Special" implementation for exceptions that extendValidationException, as those do not "go through"NessieExceptionMapperand there need to be twoExceptionMapperbeans for the Nessie-server.
-
-
Constructor Summary
Constructors Constructor Description ValidationExceptionMapper()ValidationExceptionMapper(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.ValidationException exception)protected java.lang.StringunwrapException(java.lang.Throwable t)-
Methods inherited from class org.projectnessie.services.restjavax.BaseExceptionMapper
buildBadRequestResponse, buildExceptionResponse, buildExceptionResponse
-
-