132133134135136137138139140141142
} else { throw new ItemException(ItemException.ErrorType.ITEM_DOESNT_EXIST); } if (set.next()) { throw new NotUniqueItemException(); } set.close(); statement.close(); } catch (SQLException e) { // AUTO_TODO Auto-generated catch block