Class ValidationViolationException

All Implemented Interfaces:
Serializable

public class ValidationViolationException extends InterceptorException
The ValidationViolationException is thrown during model saving when the given model and the configured constraints doesn't match.
See Also:
  • Constructor Details

    • ValidationViolationException

      public ValidationViolationException(Set<HybrisConstraintViolation> constraintViolations)
      Creates a new violation exception using given original violations.
      Parameters:
      constraintViolations - the constraint violation reported by the hibernate framework
  • Method Details