Java Reference
In-Depth Information
{
String msg = args[0]+" could not be read, or
"+args[1]+
" could not be written";
System.err.println(msg);
}
finally
{
if (fos != null)
try
{
fos.close();
}
catch (IOException ioe)
{
System.err.println("unable
to
close
"+args[1]);
}
}
}
catch (FileNotFoundException fnfe)
{
String msg = args[0]+" could not be found or might
be a directory";
System.err.println(msg);
}
finally
{
if (fis != null)
try
{
fis.close();
}
catch (IOException ioe)
{
System.err.println("unable
to
close
Search WWH ::




Custom Search