public void setDatabase(String name) throws SQLException { try { mcf.setDatabase(name); } catch(ResourceException rex) { throw new SQLException(rex.getMessage()); }
public void setDatabase(String name) { mcf.setDatabase(name);
    public void setDatabase(String name) throws SQLException {        try {            mcf.setDatabase(name);        } catch(ResourceException rex) {            throw new SQLException(rex.getMessage());        }    }