protected void handleErrorMessage(Program program, Address bookmarkAddress, String errorMessage,
			String statusMessage) {
		Msg.error(this, errorMessage);
		setStatusMsg(statusMessage);
		if (applyOptions.shouldCreateBookmarks()) {
			BookmarkManager bookmarkManager = program.getBookmarkManager();
			bookmarkManager.setBookmark(bookmarkAddress, BookmarkType.ERROR, "Data", errorMessage);
		}
	}
Output the error message to the log and output a possibly shorter status message for this 
command. This also creates a bookmark with the error message at the indicated address.
@param program the program where the error bookmark should be created.
@param bookmarkAddress the address where an error bookmark should be created.
@param errorMessage the detailed error message.
@param statusMessage an abbreviated error message that will appear as a status message.
Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/cmd/data/AbstractCreateDataBackgroundCmd.java