org.jdesktop.swingx.error
Class ErrorEvent
java.lang.Object
java.util.EventObject
org.jdesktop.swingx.error.ErrorEvent
- All Implemented Interfaces:
- Serializable
public class ErrorEvent
- extends EventObject
Defines an event which encapsulates an error which occured in a JX Swing component
which supports ErrorListeners.
- See Also:
ErrorListener
,
ErrorSupport
,
Serialized Form
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
getThrowable
public Throwable getThrowable()
- Gets the Error or Exception which occurred.
- Returns:
- The Error or Exception which occurred.