throw new DBLibException("No active DB connection pools are available in GetConnection call."); throw (SQLException)exc; else { DBLibException excptn = new DBLibException(exc.getMessage()); excptn.setStackTrace(exc.getStackTrace()); throw excptn; throw new DBLibException("No connections available in DBResourceManager in GetConnection call.");
throw new DBLibException("No active DB connection pools are available in RequestDataWithRecovery call."); throw new DBLibException("The operation timed out while waiting to acquire a new connection." ); } else { SQLException exception = new DBLibException(lastException.getMessage()); exception.setStackTrace(lastException.getStackTrace()); if(lastException.getCause() instanceof SQLException) {
private CachedRowSet requestDataNoRecovery(String statement, ArrayList<Object> arguments, String preferredDS) throws SQLException { if(dsQueue.isEmpty()){ LOGGER.error(LOGGER_ALARM_MSG); throw new DBLibException(EXCEPTION_MSG); throw (SQLException)exc; else { DBLibException excptn = new DBLibException(exc.getMessage()); excptn.setStackTrace(exc.getStackTrace()); throw excptn;
private boolean writeDataNoRecovery(String statement, ArrayList<Object> arguments, String preferredDS) throws SQLException { if(dsQueue.isEmpty()){ LOGGER.error(LOGGER_ALARM_MSG); throw new DBLibException(EXCEPTION_MSG); DBLibException excptn = new DBLibException(exc.getMessage()); excptn.setStackTrace(exc.getStackTrace()); throw excptn;
throw new DBLibException("No active DB connection pools are available in GetConnection call."); throw (SQLException)exc; } else { DBLibException excptn = new DBLibException(exc.getMessage()); excptn.setStackTrace(exc.getStackTrace()); throw excptn; DBLibException excptn = new DBLibException(trwb.getMessage()); excptn.setStackTrace(trwb.getStackTrace()); throw excptn; } finally { throw new DBLibException("The operation timed out while waiting to acquire a new connection." ); } else { SQLException exception = new DBLibException(lastException.getMessage()); exception.setStackTrace(lastException.getStackTrace()); if(lastException.getCause() instanceof SQLException) {