276277278279280281282283284285286
xhtml.append(renderSection(group.getDetail(), ReportSection.DETAILGROUPROW, rs)); } } catch (SQLException ex) { throw new DataException(ex.getMessage(), ex); } finally { DataAgent.closeResultSet(rs); }
306307308309310311312313314315316
try { ResultSet rs = this.report.getDataQuery(tag.getConnectionId()).getResultSet(); if (!rs.next()) { throw new DataException("The query has no results."); } value = rs.getString(tag.getValueName()); } catch (SQLException ex)
707172737475767778798081
this.setConnection(conn); } catch (ClassNotFoundException ex) { throw new DataException("ClassNotFoundException: " + ex.getMessage(), ex); } catch (SQLException ex) { throw new DataException("SQLException: " + ex.getMessage(), ex); } }
5657585960616263
} catch (SQLException ex) { this.setConnection(null); throw new DataException(ex.getMessage(), ex); } }