Catch database Exceptions globally
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, Is it possible to handle the database exceptions gloablly for an application insted of using a try catch block for every DB handling scenarios? Thanks krishnan.S
-
Hi, Is it possible to handle the database exceptions gloablly for an application insted of using a try catch block for every DB handling scenarios? Thanks krishnan.S
U may use the wrapper classes. http://www.codeproject.com/KB/database/caaadoclass1.aspx[^] The wrapper class will catch the _com_error exceptions for u.