An exception thrown when an error occurs inside the Taste engine.
581582583584585586587588589590
rs = stmt.executeQuery(); rs.next(); return rs.getInt(1); } catch (SQLException sqle) { log.warn("Exception while retrieving number of {}", name, sqle); throw new TasteException(sqle); } finally { IOUtils.quietClose(rs, stmt, conn); } }