com.ibm.as400.vaccess
Class ErrorEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.as400.vaccess.ErrorEvent
All Implemented Interfaces:
java.io.Serializable

public class ErrorEvent
extends java.util.EventObject

The ErrorEvent class represents an error event.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ErrorEvent(java.lang.Object source, java.lang.Exception exception)
          Constructs an ErrorEvent object.
 
Method Summary
 java.lang.Exception getException()
          Returns the exception which triggered this event.
 
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
 

Constructor Detail

ErrorEvent

public ErrorEvent(java.lang.Object source,
                  java.lang.Exception exception)
Constructs an ErrorEvent object.
Parameters:
source - The object where the event originated.
exception - The exception object that further describes the error.
Method Detail

getException

public java.lang.Exception getException()
Returns the exception which triggered this event.
Returns:
The exception which triggered this event.