public Exception getException() {
		return exception;
	}
Returns the exception generated by the task, or null if no exception was generated.  If 
the task was cancelled, this will return a CancelledException.

@return the exception generated by this task or null.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskResult.java