Fixing namespace of the Exception class