Class FileUploadViolationException

  • All Implemented Interfaces:
    Serializable

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

      • FileUploadViolationException

        public FileUploadViolationException​(List<String> messages)
      • FileUploadViolationException

        public FileUploadViolationException​(String message)
    • Method Detail

      • 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)