The .NET Windows Forms CurrencyManager swallows exceptions that are thrown while navigating (see "Bug in CurrencyManager.OnPositionChanged - eats exceptions" on MSDN Social).
I, however, need to catch or fetch an exception that may be thrown in a CurrentChanged event handler. Is there a way to get it? Subscribing BindingComplete and reading e.Exception does not help.
bindingSource.MoveLast();
// exception isn't thrown up to here
private void bindingSource_CurrentChanged(object sender, EventArgs e)
{
// save old, throws exception
}
At the moment, the user gets no feedback when saving the old item fails. Therefore I need a way to get the exception.
Cheers Matthias