update exception class