PrepAway - Latest Free Exam Questions & Answers

What should you do?

by using Windows Communication Foundation (WCF). Each method in the middle tier will contain the following catch block.
Catch (ArgumentNullException e) { throw e; }
When testing the application, you discover that all ArgumentNullExceptions exceptions that occur in the middle tier do not contain accurate stack trace information. You need to design the exception handling strategy for the application. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Create an ArgumentNullExceptionhandler in the UI tier.

B.
Use a DispatcherUnhandledExceptionEvent handler in the UI tier.

C.
Use a DispatcherUnhandledExceptionEvent handler in the middle tier.

D.
Remove the exception parameter from the ArgumentNullException handler.


Leave a Reply