Updated Exception class.