private void loadDriver(String driver) throws IOException {
        if (driver != null) {
            try {
                Class.forName(driver);
            } catch (ClassNotFoundException e) {
                throw new IOException(driver + " cannot be loaded, skipping scan of schema.", e);
            }
        }
    }
private void loadDriver ( String driver ) throws IOException { if ( driver != null ) { try { Class . forName ( driver ) ; } catch ( ClassNotFoundException e ) { throw new IOException ( driver + " cannot be loaded, skipping scan of schema." , e ) ; } } }
Load a class, e.g. the JDBC driver.

@param driver
The class name.