Retrieves the exception message from the exception object.
Syntax
public String getMsg();
Parameters
None.
Return values
A String that contains the exception message.