Package org.opensaml.profile.action
Class EventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opensaml.profile.action.EventException
- All Implemented Interfaces:
Serializable
Runtime exception which may be used to communicate a specific event ID.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The event ID.private static final long
Serial version UID. -
Constructor Summary
ConstructorsConstructorDescriptionEventException
(String event) Constructor.EventException
(String event, String message) Constructor.EventException
(String event, String message, Throwable cause) Constructor.EventException
(String event, Throwable cause) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the event ID represented by this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial version UID.- See Also:
-
eventID
The event ID.
-
-
Constructor Details
-
EventException
Constructor.- Parameters:
event
- the event ID
-
EventException
Constructor.- Parameters:
event
- the event IDmessage
- the exception details message
-
EventException
Constructor.- Parameters:
event
- the event IDcause
- the exception cause
-
EventException
Constructor.- Parameters:
event
- the event IDmessage
- the exception details messagecause
- the exception cause
-
-
Method Details
-
getEventID
Get the event ID represented by this exception.- Returns:
- the event ID
-