New method to dump Exception class instance