Package org.jdesktop.swingx.error
Interface ErrorListener
-
- All Superinterfaces:
java.util.EventListener
public interface ErrorListener extends java.util.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:
ErrorEvent
,ErrorSupport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
errorOccured(ErrorEvent event)
Tells listeners that an error has occured within the watched component.
-
-
-
Method Detail
-
errorOccured
void errorOccured(ErrorEvent event)
Tells listeners that an error has occured within the watched component.- Parameters:
event
-
-
-