Class ValidationException

All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class ValidationException extends PersistenceException
Raised when the content being stored are not logically valid.
Since:
8.8.1
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Constructor Details

    • ValidationException

      public ValidationException(Collection<ValidationError> errors)
      Creates a new session with the map of errors
      Parameters:
      errors - map of error descriptions
    • ValidationException

      public ValidationException(Collection<ValidationError> errors, Throwable cause)
      Creates a new session with the map of errors
      Parameters:
      errors - collection of error descriptions
      cause - origin of the error
    • ValidationException

      public ValidationException(String message, Throwable cause)
    • ValidationException

      public ValidationException(String message)
  • Method Details