private static VariableStorageDBAdapter findReadOnlyAdapter(DBHandle dbHandle,
			AddressMap addrMap) {
		Table table = dbHandle.getTable(VARIABLE_STORAGE_TABLE_NAME);
		if (table == null) {
			return new VariableStorageDBAdapterNoTable();
		}
		throw new AssertException("Variable storage table is from newer version");
	}
Gets a new VariableDatabaseAdapter
@param dbHandle the database handle.
@param openMode the openmode
@param addrMap the address map
@param monitor the progress monitor.
@return variable storage table adapter
@throws VersionException if the database table does not match the adapter.
@throws CancelledException if the user cancels an upgrade.
@throws IOException if a database io error occurs.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/VariableStorageDBAdapter.java