Class ValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.logicaldoc.core.PersistenceException
com.logicaldoc.core.metadata.validation.ValidationException
All Implemented Interfaces:
Serializable

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