Class EventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sourceid.saml20.adapter.gui.event.EventException
- All Implemented Interfaces:
Serializable
An exception thrown by event listeners when an error occurs.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEventException(String errorMessage) Creates a new EventException with the specified error message.EventException(List<String> errorMessages) Creates a new EventException with the specified error messages. -
Method Summary
Modifier and TypeMethodDescriptionGets the error messages.Returns the detail message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EventException
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
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
Gets the error messages.- Returns:
- the error messages as a List of Strings.
-
getMessage
Returns the detail message.- Overrides:
getMessagein classThrowable- Returns:
- the error messages.
-