public String getExceptionMessage() {
		String message = t.getMessage();
		if (message != null) {
			return message;
		}
		return t.getClass().getSimpleName();
	}
A class to take an exception and capture test system state for later reporting.
Ghidra/Framework/Generic/src/main/java/generic/test/TestExceptionTracker.java