|
From: Geoffrey De S. <ge0...@gm...> - 2007-05-04 07:25:52
|
Exceptions shouldn't be eaten, but DefaultFormModel does it on
setValueSilently.
The method setValueSilently is used by comboboxbinders
and in our use case sometimes contact the back-end.
That back-end could throw an exception, which is currently eaten:
public void setValueSilently(Object value,
PropertyChangeListener listenerToSkip) {
try {
...
super.setValueSilently(value, listenerToSkip);
clearBindingError(this);
}
catch (Exception e) {
logger.debug("Exception occurred setting value", e);
raiseBindingError(this, value, e);
}
}
Is anyone relying on the fact that exceptions are eaten?
--
With kind regards,
Geoffrey De Smet
|