code: private Connection getConnection(Callable<Connection> callable, String monitorSuffix) throws SQLException {
      final long now = System.currentTimeMillis();
      try {
        MonitoringConnection c = new MonitoringConnection(callable.call());
        doConnectionMonitoring(now, monitorSuffix);
        return c;
  
        // CSOFF: IllegalCatch
        // CSOFF: IllegalThrows
      } catch (Error e) {
        monitorFailedConnectionAttempt();
  
        throw e;
      } catch (RuntimeException rE) {
        monitorFailedConnectionAttempt();
  
        // Well, this MAY happen, although it shouldn't
        throw rE;
        // CSON: IllegalCatch
        // CSON: IllegalThrows
      } catch (SQLException sqlE) {
        monitorFailedConnectionAttempt();
  
        // sad but true
        throw sqlE;
      } catch (Exception e) {
        monitorFailedConnectionAttempt();
  
        // This MUST NOT happen - meaning that someone frakked the code of this class
        LOGGER.error(
          "Unexpected Exception thrown by Callable; please check source code of de.is24.common.database.MonitoringDataSource: " +
          e);
        throw new RuntimeException(e);
      }
    }
docs: Executes the specified {@link java.util.concurrent.Callable} to fetch a connection.
  Monitors occurring exceptions/errors.
  
  @param   callable
  the <code>Callable</code> that actually fetches a <code>Connection</code>
  @param   monitorSuffix
  the suffix for the monitor name to increase (forwarded to {@link #doConnectionMonitoring(long, String)})
  @return  a database <code>Connection</code>
  @throws  java.sql.SQLException
  if fetching a <code>Connection</code> fails
  @throws  RuntimeException