public class

ErrorEvent

extends Event
java.lang.Object
   ↳ com.neomades.event.Event
     ↳ com.neomades.event.ErrorEvent
Known Direct Subclasses

Summary

Constants
String TYPE
Public Constructors
ErrorEvent(Throwable value, Object sender)
Protected Constructors
ErrorEvent(Throwable value, Object sender, String type)
Creates an event for error.
Public Methods
String getMessage()
[Expand]
Inherited Methods
From class com.neomades.event.Event
From class java.lang.Object

Constants

public static final String TYPE

Constant Value: "com.neomades.event.ErrorEvent"

Public Constructors

public ErrorEvent (Throwable value, Object sender)

Parameters
value Error details (e.g. an Exception)
sender who has caused this error

Protected Constructors

protected ErrorEvent (Throwable value, Object sender, String type)

Creates an event for error.

Parameters
value Error details (e.g. an Exception)
sender who has caused this error
type specific-type of error

Public Methods

public String getMessage ()

Returns
  • the associated message