Class ValidationException

    • Constructor Detail

      • ValidationException

        public ValidationException​(String errorMessage)
        Create a new ValidationException with the specified validation error message. The error message will be displayed in the GUI to the user.
        Parameters:
        errorMessage - the error message to display to the user.
      • ValidationException

        public ValidationException​(List<String> errorMessages)
        Create a new ValidationException with the specified validation error messages. The error messages will be displayed in the GUI to the user.
        Parameters:
        errorMessages -
    • Method Detail

      • getErrorMessages

        public List<String> getErrorMessages()
        Gets the validation error messages.
        Returns:
        the error messages as a List of Strings.
      • getMessage

        public String getMessage()
        Returns the detail message.
        Overrides:
        getMessage in class Throwable
        Returns:
        the error messages.