100101102103104105106107108
while (result.next()) { list.add(new Tag(result.getInt("id"), this)); } result.close(); } catch (SQLException e) { throw new ItemException(Type.SELECT_ERROR, e); } return list; }
121122123124125126127128129130
if (tag != null) { return tag; } } catch (SQLException e) { throw new ItemException(Type.SELECT_ERROR, e); } throw new ItemException(Type.ITEM_MISSING); }