Class PersistentObjectValidationException

All Implemented Interfaces:
Serializable

public class PersistentObjectValidationException extends PersistentObjectException
Runtime exception thrown during PersistentObject operations.
See Also:
  • Constructor Details

    • PersistentObjectValidationException

      public PersistentObjectValidationException(Set<jakarta.validation.ConstraintViolation<T>> violations)
      Constructor.
      Type Parameters:
      T - root object type
      Parameters:
      violations - set of violations
      Throws:
      IllegalArgumentException - if violations is null
  • Method Details

    • getViolations

      public Set<jakarta.validation.ConstraintViolation<?>> getViolations()
      Get the set of constraint violations.
      Returns:
      the constraint violations that triggered this exception