Now updated this to use the proper getMessage method of the Throwable
class.