I have a VB.Net application which is slowly being converted to use classes rather than subs on every form.
Each form has its own, sometimes many Try, Catch, Finally blocks.
In the main the Catch blocks are the same, as are the Finally blocks.
Can I move the Catch Blocks code to an "error handling class"?
If so, how do I handle the Catch declaration? Typically Catch sqlex As SqlClient.SqlException