Fixed an error in Exceptions class.