Class EventException

    • Constructor Detail

      • EventException

        public EventException​(String errorMessage)
        Creates a new EventException with the specified error message. The error message is displayed in the GUI to the admin.
        Parameters:
        errorMessage - the error message displayed to the admin.
      • EventException

        public EventException​(List<String> errorMessages)
        Creates a new EventException with the specified error messages. The error messages are displayed in the GUI to the admin.
        Parameters:
        errorMessages -
    • Method Detail

      • getErrorMessages

        public List<String> getErrorMessages()
        Gets the 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.