Fix namespace for exception