void checkMapVersion(OpenMode openMode, TaskMonitor monitor)
			throws VersionException, CancelledException, IOException {
		if (propertyTable != null && addrMap.isUpgraded()) {
			if (openMode == OpenMode.UPGRADE) {
				upgradeTable(monitor);
			}
			else if (openMode != null) {
				throw new VersionException(true);
			}
		}
	}
Check if a table upgrade should be performed or a version error thrown.
@param openMode the mode that the program was openned in or null if instantiated during
cache invalidate.  Used to detect versioning error only.
@param monitor task monitor
@throws VersionException if the database version is not the expected version.
@throws CancelledException if the user cancels the upgrade operation.
@throws IOException if an IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/properties/PropertyMapDB.java