import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
+import java.net.UnknownHostException;
import java.util.zip.GZIPInputStream;
import jalview.api.AlignExportSettingsI;
String suffixLess = extractSuffix(fileStr);
if (suffixLess == null)
{
- if (e instanceof FileNotFoundException)
+ if (e instanceof FileNotFoundException
+ || e instanceof UnknownHostException)
{
errormessage = "File at URL '" + fileStr + "' not found";
filenotfound = true;