Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Eccouncil Exam 312-96 Topic 1 Question 14 Discussion

Actual exam question for Eccouncil's 312-96 exam
Question #: 14
Topic #: 1
[All 312-96 Questions]

Which of the following method will you use in place of ex.printStackTrace() method to avoid printing stack trace on error?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Helaine
5 days ago
Good to know, thanks for confirming!
upvoted 0 times
...
Rex
6 days ago
That's correct! ex.getMessage() will only print the error message instead of the full stack trace.
upvoted 0 times
...
Helaine
7 days ago
C) ex.getMessage();
upvoted 0 times
...

Save Cancel