Which method can be used to get the detail message of an exception?
Correct answer
getMessage()
Explanation
getMessage() returns the detail message string of the Throwable.
Update: Admin added a tag on this question
Topics
By Admin · · 26 views