Fixed an error in an exception.