Which three actions represent best practices when implementing an exception handling strategy for an application?

Which three actions represent best practices when implementing an exception handling
strategy for an application?

Which three actions represent best practices when implementing an exception handling
strategy for an application?

A.
Create a custom unchecked exception if the action to resolve the exception cannot be
defined.

B.
Always include information specific to the error when logging an exception.

C.
Always log the specific exception before re-throwing a wrapped exception.

D.
Create a custom checked exception if an alternative action can be taken to resolve the
exception.

E.
Always throw exceptions in methods that are designed for exception handling.



Leave a Reply 1

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