alt.jiapi.event
Class ExceptionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by alt.jiapi.event.JiapiEvent
          extended by alt.jiapi.event.ExceptionEvent
All Implemented Interfaces:
java.io.Serializable

public class ExceptionEvent
extends JiapiEvent

ExceptionEvent objects are used to identify fields that are accessed

Version:
$Revision: 1.5 $ $Date: 2006/01/31 11:11:42 $
Author:
Mika Riekkinen, Joni Suominen
See Also:
Serialized Form

Field Summary
static int CATCH_TRAPPED
          Constant used as an id of the ExceptionEvent
 
Fields inherited from class alt.jiapi.event.JiapiEvent
id, sourceObject, target, targetName
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExceptionEvent(ExceptionEventProducer eep, java.lang.Object sourceObject, java.lang.String exceptionName, int id)
          Constructor for ExceptionEvent.
ExceptionEvent(ExceptionEventProducer eep, java.lang.Object sourceObject, java.lang.String exceptionName, java.lang.Object target, int id)
          Constructor for ExceptionEvent.
 
Method Summary
 
Methods inherited from class alt.jiapi.event.JiapiEvent
finalize, getSourceObject, getTarget, getTargetName, protect, release, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CATCH_TRAPPED

public static final int CATCH_TRAPPED
Constant used as an id of the ExceptionEvent

See Also:
Constant Field Values
Constructor Detail

ExceptionEvent

public ExceptionEvent(ExceptionEventProducer eep,
                      java.lang.Object sourceObject,
                      java.lang.String exceptionName,
                      int id)
Constructor for ExceptionEvent. Target is set to null

Parameters:
eep - An instance of ExceptionEventProducer
sourceObject - A Source Object. On static methods, this is the Class, that method belongs to. Otherwise Source Object is 'this'.
exceptionName - Name of the exception
id - An id of the event being constructed. CATCH_TRAPPED

ExceptionEvent

public ExceptionEvent(ExceptionEventProducer eep,
                      java.lang.Object sourceObject,
                      java.lang.String exceptionName,
                      java.lang.Object target,
                      int id)
Constructor for ExceptionEvent.

Parameters:
eep - An instance of ExceptionEventProducer
sourceObject - A Source Object. On static methods, this is the Class, that method belongs to. Otherwise Source Object is 'this'.
exceptionName - Name of the exception
target - Exception, that triggered this event to be constructed.
id - An id of the event being constructed. CATCH_TRAPPED


Copyright © 2001. Documenation generated August 26 2011.