Package org.jdesktop.swingx.error
Class ErrorEvent
java.lang.Object
java.util.EventObject
org.jdesktop.swingx.error.ErrorEvent
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionErrorEvent
(Throwable throwable, Object source) Creates a new instance ofErrorEvent
-
Method Summary
Modifier and TypeMethodDescriptionGets the Error or Exception which occurred.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ErrorEvent
Creates a new instance ofErrorEvent
- Parameters:
throwable
- The Error or Exception which occurred.source
- The object which threw the Error or Exception
-
-
Method Details
-
getThrowable
Gets the Error or Exception which occurred.- Returns:
- The Error or Exception which occurred.
-