[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] java.lang.Class.newInstance: Doc fix patch
From: |
Archie Cobbs |
Subject: |
Re: [cp-patches] java.lang.Class.newInstance: Doc fix patch |
Date: |
Thu, 23 Sep 2004 16:34:37 -0500 (CDT) |
Steven Augart wrote:
> * @throws SecurityException if the security check fails
> * @throws ExceptionInInitializerError if class initialization caused by
> * this call fails with an exception
> + * @throws Any other exception that occurs while the constructor is
> + * running. (It is a regrettable bug in the language. That's the
> + * behavior, as documented in Sun's JDK 1.5.0rc1 documentation for
> + * java.lang.Class. This was discused on the Classpath mailing
> + * list; see
> + *
> <tt>http://lists.gnu.org/archive/html/classpath/2004-09/index.html</tt>
> + * and search for "newInstance".)
I think javadoc may complain if the first word after "@throws" is
not the name of an exception class. You might just add "Throwable".
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com