Class ErrorEvent

java.lang.Object
com.jbstrap.core.event.BaseEvent
com.jbstrap.core.event.ErrorEvent
All Implemented Interfaces:
AsyncEvent

public class ErrorEvent extends BaseEvent implements AsyncEvent
This class contains the data of the general event error. These are the following:
  • The client on which the event occurred
  • The ID of the component, on which the event occurred
  • The event type
  • The instance of the component, on which the event occurred
  • The event ID
  • The error message
Since:
4.0
Author:
JBStrap
  • Constructor Details

    • ErrorEvent

      public ErrorEvent()
  • Method Details

    • getErrorMessage

      public String getErrorMessage()
      Gets the error message
      Returns:
      The error message, or null if the error has no message assigned to it.
    • fireEvent

      public void fireEvent()
      Specified by:
      fireEvent in class BaseEvent