|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.crosswire.common.util.ReporterEvent
public class ReporterEvent
An event indicating that some bit of data needs capturing.
Distribution Licence: JSword 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, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA The copyright to this program is held by it's authors. |
Licence
,
Serialized FormField Summary | |
---|---|
private Throwable |
ex
The thing that went wrong |
private String |
message
The message that is being passed around |
private static long |
serialVersionUID
Serialization ID |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ReporterEvent(Object source,
String message)
Constructs an CaptureEvent object. |
|
ReporterEvent(Object source,
Throwable ex)
Constructs an CaptureEvent object. |
Method Summary | |
---|---|
Throwable |
getException()
Returns the exception. |
String |
getMessage()
Returns the message. |
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 |
---|
private Throwable ex
private String message
private static final long serialVersionUID
Constructor Detail |
---|
public ReporterEvent(Object source, Throwable ex)
source
- The event originator (typically this
)ex
- An exceptionpublic ReporterEvent(Object source, String message)
source
- The event originator (typically this
)message
- An message to logMethod Detail |
---|
public String getSourceName()
public Throwable getException()
public String getMessage()
|
Copyright ? 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |