Class ValidationViolationException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • ValidationViolationException

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