125126127128129130131132133134135
pstmt.setLong(5, queueID); pstmt.executeUpdate(); } catch (SQLException e) { Log.error(LocaleUtils.getLocalizedString("admin.error"), e); throw new UnauthorizedException(); } finally { DbConnectionManager.closeConnection(pstmt, con); } }
154155156157158159160161162163164
177178179180181182183184185186187
pstmt.setLong(1, queueID); pstmt.executeUpdate(); } catch (SQLException e) { Log.error(LocaleUtils.getLocalizedString("admin.error"), e); throw new UnauthorizedException(); } finally { DbConnectionManager.closeConnection(pstmt, con); } }