some small patches

Archie Cobbs archie at whistle.com
Sun Apr 25 15:15:25 PDT 1999


Alexandre Oliva writes:
> > What documentation are you looking at? This one:
> 
> > http://java.sun.com/products/jdk/1.2/docs/api/java/io/RandomAccessFile.html
> 
> > says to throw FileNotFoundException for the (String, String)
> > constructor.
> 
> Yup, but it says that the method is *declared* to throw IOException.

My eyes read otherwise..  are you sure you're not looking at the
(File, String) constructor instead, which does throw IOException?

I don't know why the two constructors are declared differently however.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list