Your developed web application code catches an IOException when a file cannot be accessed.

You want to give more information to the caller of your code.

What do you do?

 Posted by Rajkatie on 8/31/2013 | Category: .NET Framework Interview questions | Views: 8115 | Points: 40
Select from following answers:
  1. Throw a new exception with extra information that has the IOException as InnerException
  2. Throw a new exception with more detailed info.
  3. Change the message of the exception and rethrow the exception
  4. All Above

Show Correct Answer

Source: microsoft book (c#) | | Alert Moderator 

Comments or Responses

Login to post response