org.jdesktop.swingx.error
Class ErrorEvent
java.lang.Object
java.util.EventObject
org.jdesktop.swingx.error.ErrorEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ErrorEvent
- extends java.util.EventObject
Defines an event which encapsulates an error which occurred in a JX Swing component
which supports ErrorListeners.
- Author:
- Joshua Marinacci joshua.marinacci@sun.com
- See Also:
ErrorListener
,
ErrorSupport
,
Serialized Form
Constructor Summary |
ErrorEvent(java.lang.Throwable throwable,
java.lang.Object source)
Creates a new instance of ErrorEvent |
Method Summary |
java.lang.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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ErrorEvent
public ErrorEvent(java.lang.Throwable throwable,
java.lang.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
getThrowable
public java.lang.Throwable getThrowable()
- Gets the Error or Exception which occurred.
- Returns:
- The Error or Exception which occurred.