Exception Handling
-
How do you guys handle exceptions that are caught in your custom data classes. For instance, I have a business class and if an exception is thrown during one of it's methods..I don't really want to pop up a messagebox (since this class could be used in something other than a windows form app). A lot of methods are void (return nothing) so returning the exception to the caller is not an option either ( and is probably bad practice).
-
How do you guys handle exceptions that are caught in your custom data classes. For instance, I have a business class and if an exception is thrown during one of it's methods..I don't really want to pop up a messagebox (since this class could be used in something other than a windows form app). A lot of methods are void (return nothing) so returning the exception to the caller is not an option either ( and is probably bad practice).
I think I figured it out..I was having a brain fart. I simply re-throw the exception to the caller.