Updated exception class.