Update the exception class