Results 1 to 9 of 9

Thread: [resolved][C# 2.0] Exception Handling in a Class Library

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    Resolved [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
  •  



Click Here to Expand Forum to Full Width