Use correct classname in exception message

Seems to have been copied-n-pasted from another class at some point