Is there a way for me to check if given exception that was raised is in the exception filters in the settings window ?
I see the exceptIntf.ExceptClass property but not exceptIntf.Filter1Class or exceptIntf.Filter2Class, are they private ?
[dcc32 Error] main.pas(795): E2003 Undeclared identifier: 'Filter2Classes
Yes he does
I'm inside the OnException event on TMadExceptionHandler.
In my case :
procedure TfrmMain.adalException(const exceptIntf: IMEException;
var handled: Boolean);
Here I want to check if the exceptIntf.ExceptClass is in either ExceptionFilter1 og ExceptionFilter2.
Properties Filter1Classes and Filter2Classes are not visible on variable exceptIntf.
Your suggestion to try MESettings() I don't understand, there's no property on the exceptIntf, so I'm not sure what you're telling me
Could you please clarify this for me
Thanks for quick responses and good service ...
[dcc32 Error] main.pas(795): E2003 Undeclared identifier: 'MESettings'
Now we are talking ..., that's what was missing, add madExecpt.pas to my uses clause ( I thought that madExceptVcl.pas was enough).
Thank you for your support