146147148149150151152153154155156
query = (IBasicQuery) queryClass.newInstance(); ((IBasicQuery) query).init (token); } catch (Exception e) { e.printStackTrace(); throw new SlideRuntimeException (e.getMessage()); } } else { query = new BasicQueryImpl(token);
100101102103104105106107
public Iterator resourceIterator() { try { return getPool().iterator(); } catch (BadQueryException e) { throw new SlideRuntimeException(e.toString()); } }