a patch for the libraries
Archie Cobbs
archie at whistle.com
Wed Mar 10 12:47:36 PST 1999
Aaron Place writes:
> >The EmptyStackException exceptions are supposed to be declared according to:
> >
> > http://java.sun.com/products/jdk/1.2/docs/api/java/util/Stack.html
>
> That's not the way that I read the docs. For example look at:
>
> http://java.sun.com/products/jdk1.2/docs/api/java/lang/Class.html#newInstance()
>
> My understanding is that the checked exceptions are stated at the top
> as part of the method signature and that the RuntimeExceptions and
> Errors are stated down the bottom. (EmptyStackException is a
> RuntimeException).
Ah, my mistake. I thought EmptyStackException was a checked exception.
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
More information about the kaffe
mailing list