View Single Post
  #1 (permalink)  
Old July 11th, 2003, 03:22 PM
mittalpa mittalpa is offline
Registered User
Join Date: Jun 2003
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Exception Handling in class


My objective is to save the class variables information in case any exception happens. In .aspx code-behind, we have Page_error handler for capturing exceptions. Which is awesome as I capture the variable information in Session Variable and use it in Application_Error handler.

I know I can use Try-Catch construct for exception handling, but I want to use some in-built generic functionality like Page_Error. Is there anything similar in .vb (classes) to capture the exception?

Please advise. Thanks



Follow your goals, Means will follow you ---Gandhi---