public class ReporterEvent extends EventObject
The GNU Lesser General Public License for details.
,
Serialized FormModifier and Type | Field and Description |
---|---|
private Throwable |
ex
The thing that went wrong
|
private String |
message
The message that is being passed around
|
private static long |
serialVersionUID
Serialization ID
|
source
Constructor and Description |
---|
ReporterEvent(Object source,
String message)
Constructs an CaptureEvent object.
|
ReporterEvent(Object source,
Throwable ex)
Constructs an CaptureEvent object.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getException()
Returns the exception.
|
String |
getMessage()
Returns the message.
|
String |
getSourceName()
Returns a string specifying the source of the message.
|
getSource, toString
private Throwable ex
private String message
private static final long serialVersionUID
public ReporterEvent(Object source, Throwable ex)
source
- The event originator (typically this
)ex
- An exceptionpublic String getSourceName()
public Throwable getException()
public String getMessage()