Which one of the following is the right description for the method getMessage() ?
Returns the message if it is passed to the constructor
Correct:
Returns the message if it is passed to the constructor
Answer: a
Explanation: The function getMessage() gets the exception message. It returns the message if it is passed to the constructor.