Class FileUploadViolationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hippoecm.frontend.plugins.jquery.upload.FileUploadViolationException
All Implemented Interfaces:
Serializable

public class FileUploadViolationException extends Exception
Exception containing violation messages in uploading files
See Also:
  • Constructor Details

    • FileUploadViolationException

      public FileUploadViolationException(List<String> messages)
    • FileUploadViolationException

      public FileUploadViolationException(String message)
  • Method Details

    • getViolationMessages

      public List<String> getViolationMessages()
      Return a list violation messages in the exception or an empty list if violation is not found
      Returns:
      a list violation messages in the exception or an empty list if violation is not found
    • setViolations

      protected void setViolations(List<String> messages)