Knowledgebase: General
x.x: Exception filters seems not working at all
Posted by Alexander Alexeev on 04 January 2010 17:17
|
|
Problem: I've declared a new exception (EMyException = Exception) and added exception filter for it. But it do not work. Explanation: 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. Workaround: If you need the new class (and you probably want it) - write declaration as follows (note "class"): type EMyException = class(Exception); Checked EL version: this is not EurekaLog issue. | |
|