Fixes a nil crash when an exception is thrown with no message.
getMessage is passed through to_s method so nil or a string both pass back a string.