Class EventException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sourceid.saml20.adapter.gui.event.EventException
All Implemented Interfaces:
Serializable

public class EventException extends Exception
An exception thrown by event listeners when an error occurs.
See Also:
  • Constructor Details

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

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