Fix exception class.