You should add "* @throws Exception\RuntimeException" like queryXpath() method ?