private String generateMessge() {

		String message = t.getMessage();
		message = message != null ? message : "";
		String messageWithName =
			t.getClass().getSimpleName() + ": " + message + " (thread '" + threadName + "')";

		if (userMessage != null) {
			messageWithName = userMessage + "\n\n" + messageWithName;
		}

		return messageWithName;
	}
Creates a new {@link TestReportingException} using an exception that was generated on 
the Swing thread.

@param message an optional custom message that will be printed first in the stack trace
@param t the original exception
@return the new {@link TestReportingException}
Ghidra/Framework/Generic/src/main/java/generic/test/TestReportingException.java