Assigns a delegate to the error event.
public final void addOnError ( EventHandler h )
h
The EventHandler delegate to be notified when the event occurs.
The delegate specifies a method that is called when this element generates an error.
See Also removeOnError