x.x: Exception filters seems not working at all
Posted by Alexander Alexeev on 04 January 2010 17:17
I've declared a new exception (EMyException = Exception) and added exception filter for it. But it do not work.
That's because your application do not have EMyException class. You've declared alias for Exception, not the new exception class.
See for yourself:
Caption := EMyException.ClassName;
You'll see "Exception" in caption, and not the EMyException.
If you need the new class (and you probably want it) - write declaration as follows (note "class"):
EMyException = class(Exception);
Checked EL version: this is not EurekaLog issue.