QuercusPage page = (QuercusPage) pageClass.newInstance();  page.init(_quercus);  Method selfPath = pageClass.getMethod("quercus_setSelfPath", new Class[] { Path.class });  selfPath.invoke(null, path);  program.setCompiledPage(page);  return page;
try { QuercusPage page = (QuercusPage) pageClass.newInstance();  page.init(_quercus);  Method selfPath = pageClass.getMethod("quercus_setSelfPath", new Class[] { Path.class });  selfPath.invoke(null, path);  program.setCompiledPage(page);  return page; } catch (Exception e) { throw new QuercusException(e); }
  private QuercusPage createPage(Path path,			     QuercusProgram program,			     Class pageClass)    throws Throwable  {    QuercusPage page = (QuercusPage) pageClass.newInstance();    page.init(_quercus);    Method selfPath = pageClass.getMethod("quercus_setSelfPath",					  new Class[] { Path.class });    selfPath.invoke(null, path);    program.setCompiledPage(page);    return page;  }