/** * {@inheritDoc} * @param index of the ResultsRow required * @return the relevant ResultsRow as an Object */ @Override public Object get(int index) { List<Object> resultList = null; try { resultList = range(index, index); } catch (DataChangedException e) { ConcurrentModificationException e2 = new ConcurrentModificationException("ObjectStore" + " error has occurred (in get) - data changed"); e2.initCause(e); throw e2; } catch (ObjectStoreException e) { throw new RuntimeException("ObjectStore error has occurred (in get)", e); } return resultList.get(0); }
/** * {@inheritDoc} * @param index of the ResultsRow required * @return the relevant ResultsRow as an Object */ @Override public Object get(int index) { List<Object> resultList = null; try { resultList = range(index, index); } catch (DataChangedException e) { ConcurrentModificationException e2 = new ConcurrentModificationException("ObjectStore" + " error has occurred (in get) - data changed"); e2.initCause(e); throw e2; } catch (ObjectStoreException e) { throw new RuntimeException("ObjectStore error has occurred (in get)", e); } return resultList.get(0); }
/** * {@inheritDoc} * @param start the index to start from (inclusive) * @param end the index to end at (exclusive) * @return the sub-list */ @Override public List<Object> subList(int start, int end) { List<Object> ret = null; try { ret = range(start, end - 1); } catch (DataChangedException e) { ConcurrentModificationException e2 = new ConcurrentModificationException("ObjectStore" + " error has occurred (in subList) - data changed"); e2.initCause(e); throw e2; } catch (ObjectStoreException e) { //LOG.debug("subList - " + e); throw new RuntimeException("ObjectStore error has occured (in subList)", e); } return ret; }
/** * {@inheritDoc} * @param start the index to start from (inclusive) * @param end the index to end at (exclusive) * @return the sub-list */ @Override public List<Object> subList(int start, int end) { List<Object> ret = null; try { ret = range(start, end - 1); } catch (DataChangedException e) { ConcurrentModificationException e2 = new ConcurrentModificationException("ObjectStore" + " error has occurred (in subList) - data changed"); e2.initCause(e); throw e2; } catch (ObjectStoreException e) { //LOG.debug("subList - " + e); throw new RuntimeException("ObjectStore error has occured (in subList)", e); } return ret; }
ConcurrentModificationException e2 = new ConcurrentModificationException("Object" + "Store error has occurred (in size) - data changed"); e2.initCause(e); throw e2; } catch (ObjectStoreException e) {
ConcurrentModificationException e2 = new ConcurrentModificationException("Object" + "Store error has occurred (in size) - data changed"); e2.initCause(e); throw e2; } catch (ObjectStoreException e) {
cme.initCause(ise); throw cme;
cme.initCause(ise); throw cme;
cme.initCause(ise); throw cme;
cme.initCause(ise); throw cme;