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.