Fixed the namespaces in the exception classes.