fixed name of Exception class in documentation

The name of the exception that is thrown is not correct here.