Package org.jdesktop.swingx.error
Interface ErrorListener
- All Superinterfaces:
EventListener
ErrorListener defines the interface for an object which listens to errors generated
by a JX Swing component. ErrorEvents are only generated for internal un-recoverable errors
that cannot be thrown. An example would be an internal Action implementation that cannot
throw an Exception directly because the ActionListener interface forbids it. Exceptions
which can be throw directly (say from the constructor of the JX component) should not use
the ErrorListener mechanism.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
errorOccured
(ErrorEvent event) Tells listeners that an error has occured within the watched component.
-
Method Details
-
errorOccured
Tells listeners that an error has occured within the watched component.- Parameters:
event
-
-