conn.releaseCommitConnection(con);
} catch (NoConnectionAvailableException ex) {
throw new ServletException("@CODE=NoConnectionAvailable");
} catch (SQLException ex2) {
try {
conn.releaseRollbackConnection(con);
} catch (Exception ignored) {
}
throw new ServletException("@CODE=" + Integer.toString(ex2.getErrorCode()) + "@"
+ ex2.getMessage());
} catch (Exception ex3) {