which class should you inherit?

You are designing a Windows Presentation Foundation (WPF) application that connects to
a data access layer on a server. You have the following requirements for all security-related

exceptions: Exceptions that occur in the data access layer must be handled in a single
exception handler in the WPF application. Exceptions must pass customized messages
back to the WPF application. You need to recommend an approach for creating new
exception classes in the data access layer. From which class should you inherit?

You are designing a Windows Presentation Foundation (WPF) application that connects to
a data access layer on a server. You have the following requirements for all security-related

exceptions: Exceptions that occur in the data access layer must be handled in a single
exception handler in the WPF application. Exceptions must pass customized messages
back to the WPF application. You need to recommend an approach for creating new
exception classes in the data access layer. From which class should you inherit?

A.
System.InvalidOperationException

B.
System.Security.SecurityException

C.
System.AccessViolationException

D.
System.ApplicationException



Leave a Reply 0

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