CompTIA
JK0-018 · Question #428
Which of the following is a best practice for error and exception handling?
The correct answer is A. Log detailed exception but display generic error message. See the full explanation below for the reasoning.
Question
Which of the following is a best practice for error and exception handling?
Options
- ALog detailed exception but display generic error message
- BDisplay detailed exception but log generic error message
- CLog and display detailed error and exception messages
- DDo not log or display error or exception messages
How the community answered
(58 responses)- A76% (44)
- B3% (2)
- C14% (8)
- D7% (4)
Community Discussion
No community discussion yet for this question.