|
-
Sep 5th, 2006, 08:53 AM
#1
Thread Starter
Frenzied Member
[resolved][C# 2.0] Exception Handling in a Class Library
I'm writing a class library and I'm trying to implement exception handling. On the catch block, what can you do with the Exception if the code is in a class library?
If it were a console program, I may want to view the exception with Console.WriteLn(e.Message) or if it were a Windows App then MessageBox.Show(e.Message) but I can't do both or choose in a class library.
Last edited by wey97; Sep 26th, 2006 at 07:31 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|