Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.util.event
Class ReporterEvent  view ReporterEvent download ReporterEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.eireneh.util.event.ReporterEvent
All Implemented Interfaces:
java.io.Serializable

public class ReporterEvent
extends java.util.EventObject

An event indicating that some bit of data needs capturing.
Distribution Licence:
Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below.
The copyright to this program is held by it's authors.


Field Summary
private  java.lang.Throwable ex
          The thing that went wrong
private  java.lang.String message
          The message that is being passed around
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ReporterEvent(java.lang.String message)
          Constructs an CaptureEvent object.
ReporterEvent(java.lang.Throwable ex)
          Constructs an CaptureEvent object.
 
Method Summary
 java.lang.Throwable getException()
          Returns the exception.
 java.lang.String getMessage()
          Returns the message.
 java.lang.String getSourceName()
          Returns a string specifying the source of the message.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ex

private java.lang.Throwable ex
The thing that went wrong


message

private java.lang.String message
The message that is being passed around

Constructor Detail

ReporterEvent

public ReporterEvent(java.lang.Throwable ex)
Constructs an CaptureEvent object.


ReporterEvent

public ReporterEvent(java.lang.String message)
Constructs an CaptureEvent object.

Method Detail

getSourceName

public java.lang.String getSourceName()
Returns a string specifying the source of the message.


getException

public java.lang.Throwable getException()
Returns the exception.


getMessage

public java.lang.String getMessage()
Returns the message.