Class ValidationExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<javax.validation.ConstraintViolationException>

    @Provider
    public class ValidationExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<javax.validation.ConstraintViolationException>
    • Constructor Detail

      • ValidationExceptionMapper

        public ValidationExceptionMapper()
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(javax.validation.ConstraintViolationException exception)
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<javax.validation.ConstraintViolationException>