In ZIBEventAlerter.pas, there is a routing called HandleException(). It's called in the Execute() method as well as in the destructor. HandleException() will indirectly show all exceptions using SysUtils.ShowException (via DoHandleException).
All in all it results in the following problem for me:
Code: Select all
try
fEventAlerter.UnRegisterEvents();
except
// I want to silently ignore
// all exceptions, but I can't
end;
It's not possible to call UnRegisterEvents and ignore any exceptions which are raised, because DoHandleException will show all of them anyhow.
Can somebody tell me what I'm missing here, or could I make a patch for this, if yes, what would be the preferred way?
tia,
Merijn