com.ibm.as400.vaccess
Class ErrorEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.ibm.as400.vaccess.ErrorEvent
All Implemented Interfaces:
Serializable

Deprecated. Use Java Swing instead, along with the classes in package com.ibm.as400.access

public class ErrorEvent
extends EventObject

The ErrorEvent class represents an error event.

See Also:
Serialized Form

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

Returns:
The exception which triggered this event.