If the specified class already includes the configured namespace, do
not prepend it.
Fixed typo in exception class name.