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:
ConfigurationListener, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getErrorMessages()Gets the error messages.StringgetMessage()Returns the detail message.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-
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:
getMessagein classThrowable- Returns:
- the error messages.
-
-