Ignoring specifing Exceptions

delphi package - automated exception handling

Ignoring specifing Exceptions

Postby Han312 » Thu Oct 22, 2020 10:20 am

We are getting sometimes exceptions like

Code: Select all
exception number                : 1
exception class                 : EAccessViolation
exception message               : Zugriffsverletzung bei Adresse 0000000050AF82C8 in Modul 'nvoglv64.DLL'. Lesen von Adresse 0000000000000013.


Is it possible to ignore exceptions from module 'nvoglv64.DLL' and filter it out?
Han312
 
Posts: 48
Joined: Mon Mar 14, 2016 3:49 pm

Re: Ignoring specifing Exceptions

Postby madshi » Fri Oct 23, 2020 1:09 pm

Hi there,

you can register an exception handler by calling "RegisterExceptionHandler(YourHandler, stDontSync, epQuickFiltering)" and then in your handler you can check the properties for the "exceptIntf: IMEException" interface and if you want to filter out an exception, simply set "handled := true".

For example, you could check the Exception message to see if "nvoglw64.DLL" is listed there. Or maybe there's a better way. I can't say because you only provided a small part of the bug report.
madshi
Site Admin
 
Posts: 10303
Joined: Sun Mar 21, 2004 5:25 pm

Re: Ignoring specifing Exceptions

Postby Han312 » Fri Oct 23, 2020 3:20 pm

Thanks. It works that way.
I change the subject of the mail and filter the bug report later.
Han312
 
Posts: 48
Joined: Mon Mar 14, 2016 3:49 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 19 guests