}
}
}
+ catch (Exception e)
+ {
+ errormessage = "CANNOT ACCESS DATA AT URL '"+fileStr+"' ("+e.getMessage()+")";
+ error=true;
+ }
}
else if (type.equals(AppletFormatAdapter.PASTE))
{
error = true;
}
}
+ if (dataIn==null)
+ {
+ // pass up the reason why we have no source to read from
+ throw new IOException("Failed to read data from source:\n"+errormessage);
+ }
error=false;
dataIn.mark(READAHEAD_LIMIT);
}