private String getMessage(Throwable t) {
		String message = t.getMessage();
		if (message != null) {
			return message;
		}
		return t.getClass().getSimpleName();
	}
This spacer addresses the optical impression that the message panel changes size when showing details
Ghidra/Framework/Docking/src/main/java/docking/ErrLogExpandableDialog.java