+ Reply to Thread
Results 1 to 2 of 2

Thread: get the thrown exception details

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    35

    get the thrown exception details

    Hi , i am using a try and catch method on my code , but i am getting an error and i want to get more information about , here is sample :
    Code:
    try
    { // do something }
    catch
    { // catch error}

  2. #2
    You can add the following to catch method :
    Code:
    try 
    {// do anything}
    catch(Exception ee)
    {
        Message.Show(ee.tostring()); // this shows the error information on a message box
    }

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts