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

Quick Search    Search Deep

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

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

public class CaptureEvent
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  int level
          The level
private  java.lang.String message
          The message that is being passed around
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CaptureEvent(java.lang.Object source, java.lang.String message, int level)
          Constructs an CaptureEvent object.
CaptureEvent(java.lang.Object source, java.lang.Throwable ex, int level)
          Constructs an CaptureEvent object.
 
Method Summary
 java.lang.Throwable getException()
          Returns the exception.
 int getLevel()
          Returns the level.
 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


level

private int level
The level

Constructor Detail

CaptureEvent

public CaptureEvent(java.lang.Object source,
                    java.lang.Throwable ex,
                    int level)
Constructs an CaptureEvent object.


CaptureEvent

public CaptureEvent(java.lang.Object source,
                    java.lang.String message,
                    int level)
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.


getLevel

public int getLevel()
Returns the level.