484485486487488489490491492493494
touch(identifier, lastModified); return new DbDataRecord(this, identifier, length, lastModified); } catch (Exception e) { throw convert("Can not read identifier " + identifier, e); } finally { conn.closeSilently(rs); putBack(conn); } } /**
673674675676677678679680681682683
return in; } catch (Exception e) { throw convert("Can not read identifier " + identifier, e); } finally { if (copyWhenReading) { conn.closeSilently(rs); } putBack(conn); } }
350351352353354355356357358359360
conn.setAutoReconnect(true); return record; } catch (Exception e) { throw convert("Can not insert new record", e); } finally { conn.closeSilently(rs); putBack(conn); if (fileInput != null) { try { fileInput.close(); } catch (IOException e) {
421422423424425426427428429430431
} return list.iterator(); } catch (Exception e) { throw convert("Can not read records", e); } finally { conn.closeSilently(rs); putBack(conn); } } /**
464465466467468469470471472473474
171172173174175176177178179180181
.header("Location", sb.toString()) .contentLength(0) .build(); ctx.write(response); } else { connection.closeSilently(); } return ctx.getStopAction(); } }
178179180181182183184185186
public void exceptionOccurred(final FilterChainContext ctx, final Throwable error) { final Connection connection = ctx.getConnection(); if (connection != null) { connection.closeSilently(); } } }