Fixed call to LogicException

LogicException should be accessed through global space.