private void initializeAdapters() throws VersionException {
		VersionException versionExc = null;
		try {
			functionAdapter = OldFunctionDBAdapter.getAdapter(dbHandle, addrMap);
		}
		catch (VersionException e) {
			versionExc = e.combine(versionExc);
		}
		try {
			stackVarAdapter = OldStackVariableDBAdapter.getAdapter(dbHandle, addrMap);
		}
		catch (VersionException e) {
			versionExc = e.combine(versionExc);
		}
		try {
			registerAdapter = OldRegisterVariableDBAdapter.getAdapter(dbHandle, addrMap);
		}
		catch (VersionException e) {
			versionExc = e.combine(versionExc);
		}
		functionMap = new OldFunctionMapDB(dbHandle, this, addrMap);
		if (versionExc != null) {
			throw versionExc;
		}
	}
Copy old function into programs current function manager.
@param function existing function
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/oldfunction/OldFunctionManager.java