Update the exception class.