public static Long validateHashText(String text, String errorMessage) {
		try {
			long parseLong = NumericUtilities.parseLong(text);
			return parseLong;
		}
		catch (NumberFormatException e) {
			popupNumericParseError(errorMessage, text);
			return null;
		}
	}
Tries to parse the text as a long numeric value.
@param text the text to parse
@return the value, or null in case of parse error
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/debug/FidDebugUtils.java