private static IOException getIOException(Exception e) {
		Throwable cause = e;
		while (cause != null) {
			if (cause instanceof IOException) {
				return (IOException) cause;
			}
			cause = cause.getCause();
		}
		return null;
	}
Get protected keystore data for specified keystorePath.  Caller is responsible for
properly disposing returned object.
@param keystorePath protected keystore path
@return protected keystore data
@throws CancelledException password entry was cancelled by user
@throws KeyStoreException error occurred opening/processing keystore
Ghidra/Framework/Generic/src/main/java/ghidra/net/ApplicationKeyManagerFactory.java