Which two actions should you perform?

An application is throwing unhandled NullReferenceException and FormatException errors. The stack trace shows that the exceptions occur in the GetWebResult() method.
The application includes the following code to parse XML data retrieved from a web service. (Line numbers are included for reference only.)


You need to handle the exceptions without interfering with the existing error-handling infrastructure.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)


A. Option A
B. Option B
C. Option C
D. Option D

microsoft-exams

4 thoughts on “Which two actions should you perform?

  1. Why not AD?
    D/ It’s possible to use local try/catch without interfering existing error handling
    C/ Contrariwise UnhandledExceptionEventHandler() change existing error handling mechanism

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.