Class EventException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opensaml.profile.action.EventException
All Implemented Interfaces:
Serializable

public class EventException extends Exception
Runtime exception which may be used to communicate a specific event ID.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial version UID.
      See Also:
    • eventID

      private final String eventID
      The event ID.
  • Constructor Details

    • EventException

      public EventException(@Nonnull String event)
      Constructor.
      Parameters:
      event - the event ID
    • EventException

      public EventException(@Nonnull String event, @Nullable String message)
      Constructor.
      Parameters:
      event - the event ID
      message - the exception details message
    • EventException

      public EventException(@Nonnull String event, @Nullable Throwable cause)
      Constructor.
      Parameters:
      event - the event ID
      cause - the exception cause
    • EventException

      public EventException(@Nonnull String event, @Nullable String message, @Nullable Throwable cause)
      Constructor.
      Parameters:
      event - the event ID
      message - the exception details message
      cause - the exception cause
  • Method Details

    • getEventID

      @Nonnull public String getEventID()
      Get the event ID represented by this exception.
      Returns:
      the event ID