8182838485868788
super.setVariableValue("ChartImage", bufferedImage); } catch(ChartDataException chartDataException) { throw new JRScriptletException(chartDataException); } }
2627282930313233
if (vp != null) { Marker m = vp.getMarker(7); rootMarker = m.getName(); } } catch (RemoteException e) { throw new JRScriptletException(e.getMessage(), e); } }
5960616263646566676869
result.append(src); } } return result.toString(); } catch (SQLException e) { throw new JRScriptletException(e.getMessage(), e); } finally { SqlUtil.close(rs); SqlUtil.close(st); } }
data.add(row); } } return new JRMapCollectionDataSource(data); } catch (SQLException e) { throw new JRScriptletException(e.getMessage(), e); } finally { SqlUtil.close(rs); SqlUtil.close(st); } }
96979899100101102103104105106
138139140141142143144145146147148
155156157158159160161162163164165
loadRow((Map<String, Object>) newNode, rs); parentChildren.add(newNode); } System.out.println(data.size()); } catch (SQLException e) { throw new JRScriptletException(e.getMessage(), e); } finally { SqlUtil.close(rs); SqlUtil.close(st); } }
211212213214215216217218219220221
} return ""; } catch (SQLException ex) { System.out.println("Statement: " + sql); //$NON-NLS-1$ ex.printStackTrace(); throw new JRScriptletException(ex); } finally { SqlUtil.close(rs); SqlUtil.close(st); } }
103104105106107108109110111112113
parentChildren.add(newNode); } cleanTree(data); } catch (SQLException e) { throw new JRScriptletException(e.getMessage(), e); } finally { SqlUtil.close(rs); SqlUtil.close(st); } }
159160161162163164165166167168169
if (rs.next()) { return new Integer[] { rs.getInt(1), rs.getInt(2) }; } return null; } catch (SQLException e) { throw new JRScriptletException(e.getMessage(), e); } finally { try { rs.close(); } catch (SQLException e) { }