Fixed namespace error in exceptions