Added exception class.