textbender.g.beans
Class PropertyChangeListenerR.DispatchCatcherN

java.lang.Object
  extended by Catcher0<PropertyChangeListenerR>
      extended by PropertyChangeListenerR.DispatchCatcherN
All Implemented Interfaces:
Catcher<PropertyChangeListenerR>
Enclosing interface:
PropertyChangeListenerR

public static class PropertyChangeListenerR.DispatchCatcherN
extends Catcher0<PropertyChangeListenerR>

For property event dispatchers, by name, a catcher that treats exception-throwing listeners as disabled.


Nested Class Summary
 
Nested classes/interfaces inherited from interface Catcher
Catcher.X
 
Field Summary
(package private)  String propertyName
           
 
Constructor Summary
PropertyChangeListenerR.DispatchCatcherN(PropertyChangeListenerR.RegistryN registry, String propertyName)
          Creates a DispatchCatcherN.
 
Method Summary
 void catchException(PropertyChangeListenerR listener, Exception x)
          Notifies the registry that the listener is disabled.
 
Methods inherited from class Catcher0
catchError, i
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyName

final String propertyName
Constructor Detail

PropertyChangeListenerR.DispatchCatcherN

public PropertyChangeListenerR.DispatchCatcherN(PropertyChangeListenerR.RegistryN registry,
                                                String propertyName)
Creates a DispatchCatcherN.

Method Detail

catchException

public void catchException(PropertyChangeListenerR listener,
                           Exception x)
Notifies the registry that the listener is disabled.

Specified by:
catchException in interface Catcher<PropertyChangeListenerR>
Overrides:
catchException in class Catcher0<PropertyChangeListenerR>
Parameters:
listener - logical source of the exception