public static void handleException(RepositoryAdapter repository, Exception exc,
			String operation, Component parent) {
		handleException(repository, exc, operation, true, parent);
	}
Displays an error dialog appropriate for the given exception. If the exception is a
ConnectException or NotConnectedException, a prompt to reconnect to the Ghidra Server
is displayed. The message states that the operation may have to be retried due to the
failed connection.

@param repository may be null if the exception is not a RemoteException
@param exc exception that occurred
@param operation operation that was being done when the exception occurred; this string
is be used in the message for the error dialog if one should be displayed
@param parent parent of the error dialog
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/client/ClientUtil.java