throwing exceptions from CNI

Tom Tromey tromey@redhat.com
Tue Jul 3 09:06:00 GMT 2001


>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:

>> JvThrow ( new XXXException( ... ) );

>> throw new XXXException( ... );

Jeff> There is no difference anymore.  Back when libgcj was written,
Jeff> g++ didn't understand a java `throw' operator.

Also, JvThrow is deprecated.  Use `throw' in new code.

Tom



More information about the Java mailing list