{
addError((protocol == DataSourceType.URL ? "File at URL" : "File")
+ " '" + openFile + "' not found");
+ isError = true;
+ continue;
} catch (FileFormatException e1)
{
addError("Unknown file format for '" + openFile + "'");
import java.io.StringReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
+import java.net.SocketTimeoutException;
import java.net.URL;
import java.net.URLConnection;
import java.net.UnknownHostException;
if (suffixLess == null)
{
if (e instanceof FileNotFoundException
- || e instanceof UnknownHostException)
+ || e instanceof UnknownHostException
+ || e instanceof SocketTimeoutException)
{
errormessage = "File at URL '" + fileStr + "' not found";
filenotfound = true;
{
errormessage = "BAD URL WITH OR WITHOUT SUFFIX '" + fileStr
+ "'";
- if (e instanceof FileNotFoundException)
+ if (e instanceof FileNotFoundException
+ || e instanceof UnknownHostException
+ || e instanceof SocketTimeoutException)
{
filenotfound = true;
}