org.jdesktop.swingx.error
Class ErrorEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jdesktop.swingx.error.ErrorEvent
All Implemented Interfaces:
Serializable

public class ErrorEvent
extends EventObject

Defines an event which encapsulates an error which occurred in a JX Swing component which supports ErrorListeners.

See Also:
ErrorListener, ErrorSupport, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ErrorEvent(Throwable throwable, Object source)
          Creates a new instance of ErrorEvent
 
Method Summary
 Throwable getThrowable()
          Gets the Error or Exception which occurred.
 
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(Throwable throwable,
                  Object source)
Creates a new instance of ErrorEvent

Parameters:
throwable - The Error or Exception which occurred.
source - The object which threw the Error or Exception
Method Detail

getThrowable

public Throwable getThrowable()
Gets the Error or Exception which occurred.

Returns:
The Error or Exception which occurred.