Gets the message for an exception taking into consideration that
not all exceptions (ie NPE) will have a message in which case the
class's name will be used in lue of no message.
Gets the message for an exception's root exception taking into
consideration that not all exceptions (ie NPE) will have a message
in which case the class's name will be used in lue of no message.