169170171172173174175176177178179
private static void checkJavaVersion() { String version = System.getProperty("java.version"); if (version.startsWith("1.3.") || version.startsWith("1.4.")) throw new QuercusRuntimeException(L.l("Quercus requires JDK 1.5 or higher.")); /* int major = 0; int minor = 0;
402403404405406407408409
try { Path path = new StringPath(str); return new QuercusParser(null, path, path.openRead()).parseExpr(); } catch (IOException e) { throw new QuercusRuntimeException(e); } }
417418419420421422423424
parser._factory = factory; return parser.parseExpr(); } catch (IOException e) { throw new QuercusRuntimeException(e); } }
7374757677787980818283
Value value = null; try { value = e.toValue(env); } catch (Throwable e1) { throw new QuercusRuntimeException(e1); } for (int i = 0; i < _catchList.size(); i++) { Catch item = _catchList.get(i);
307308309310311312313314315
return def; } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new QuercusRuntimeException(e); } } }
226227228229230231232233234235236
cl = Env.getInstance().findClass(iface, ! isJavaClassDef, true); if (cl == null) throw new QuercusRuntimeException(L.l("cannot find interface {0}", iface)); // _instanceofSet.addAll(cl.getInstanceofSet()); ClassDef ifaceDef = cl.getClassDef();
168716881689169016911692169316941695
*/ if (fun != null) return fun; else { throw new QuercusRuntimeException(L.l("{0}::{1} is an unknown method", getName(), name)); } }
17071708170917101711171217131714
Object obj = _constJavaMap.get(name); if (obj != null) return env.wrapJava(obj); throw new QuercusRuntimeException(L.l("{0}::{1} is an unknown constant", getName(), name)); }
577578579580581582583584
reader.close(); } return sb; } catch (IOException e) { throw new QuercusRuntimeException(e); } }
6970717273747576
{ try { return _url.openStream(); } catch (IOException e) { throw new QuercusRuntimeException(e); } }