Class ConstraintViolationException

All Implemented Interfaces:
Serializable

public class ConstraintViolationException extends ValidationException
Reports the result of constraint violations.
See Also:
  • Constructor Details

    • ConstraintViolationException

      public ConstraintViolationException(String message, Set<? extends ConstraintViolation<?>> constraintViolations)
      Creates a constraint violation report.
      Parameters:
      message - error message
      constraintViolations - Set of ConstraintViolation
    • ConstraintViolationException

      public ConstraintViolationException(Set<? extends ConstraintViolation<?>> constraintViolations)
      Creates a constraint violation report.
      Parameters:
      constraintViolations - Set of ConstraintViolation
  • Method Details