org.jdesktop.swingx.error
Interface ErrorListener
- All Superinterfaces:
- EventListener
public interface ErrorListener
- extends 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 |
void |
errorOccured(ErrorEvent event)
Tells listeners that an error has occured within the watched component. |
errorOccured
void errorOccured(ErrorEvent event)
- Tells listeners that an error has occured within the watched component.
- Parameters:
event
-