private boolean createTypeDescriptors() throws CancelledException {
		monitor.setMessage("Creating TypeDescriptors for HandlerTypes");
		boolean result = true;
		Program program = model.getProgram();

		for (int catchHandlerOrdinal = 0; catchHandlerOrdinal < count; catchHandlerOrdinal++) {
			monitor.checkCancelled();
			Address compAddress;
			Address typeDescriptorAddress;
			try {
				compAddress = model.getComponentAddressOfTypeDescriptorAddress(catchHandlerOrdinal);
				typeDescriptorAddress = model.getTypeDescriptorAddress(catchHandlerOrdinal);
			}
			catch (InvalidDataTypeException e) {
				throw new AssertException(e); // Shouldn't happen. create...() is only called if model is valid.
			}

			if (typeDescriptorAddress == null) {
				continue; // No type descriptor for this HandlerType record.
			}

			TypeDescriptorModel typeDescriptorModel;
			try {
				typeDescriptorModel = model.getTypeDescriptorModel(catchHandlerOrdinal);
			}
			catch (InvalidDataTypeException e) {
				throw new AssertException(e);  // Shouldn't happen. create...() is only called if model is valid.
			}
			try {
				typeDescriptorModel.validate();
			}
			catch (InvalidDataTypeException e1) {
				handleErrorMessage(program, typeDescriptorModel.getName(),
					typeDescriptorModel.getAddress(), compAddress, e1);
				result = false;
				continue;
			}
			int typeDescriptorCount = typeDescriptorModel.getCount();
			if (typeDescriptorCount == 0) {
				continue; // No type descriptor for this HandlerType record.
			}

			CreateTypeDescriptorBackgroundCmd cmd =
				new CreateTypeDescriptorBackgroundCmd(typeDescriptorModel, applyOptions);
			result &= cmd.applyTo(program, monitor);
		}
		return result;
	}
Creates the associated TypeDescriptor data.
@param program the program where this command is applying the data.
@param monitor the task monitor for cancelling creation of the TypeDescriptor.
@return true if successful.
@throws CancelledException if the user cancels this task.
Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/cmd/data/exceptionhandling/CreateEHCatchHandlerMapBackgroundCmd.java