@Override
	void addException(String message, Throwable t) {

		int n = errors.size();
		if (n > MAX_EXCEPTIONS) {
			return;
		}

		errors.add(new ErrorEntry(message, t));

		detailsPane.update();

		updateTitle(); // signal the new error
	}
tracks 'details panel' open state across invocations
Ghidra/Framework/Docking/src/main/java/docking/ErrLogDialog.java