This is the mail archive of the
mauve-discuss@sourceware.org
mailing list for the Mauve project.
Re: StackOverflowError
- From: Dalibor Topic <robilad at kaffe dot org>
- To: Pedro Izecksohn <izecksohn at yahoo dot com>, mauve-discuss <mauve-discuss at sources dot redhat dot com>
- Date: Fri, 28 Sep 2007 12:26:56 +0200
- Subject: Re: StackOverflowError
- References: <822246.69091.qm@web50110.mail.re2.yahoo.com>
Pedro Izecksohn wrote:
>>> May this list be the wrong place to discuss it, but:
>
>> You'd have a better chance of reaching gcj developers by using the gcj
>> mailing list. Or its bugtracker.
>
> I forgot to ask:
>
> Must a conforming JVM enable applications to catch all java.lang.Error subclasses?
>
Afaict, no. Consider VirtualMachineError or InternalError. See also the
JVM spec:
"The class Error and its standard subclasses are exceptions from which
ordinary programs are not ordinarily expected to recover. The class
Error is a separate subclass of Throwable, distinct from Exception in
the class hierarchy, in order to allow programs to use the idiom
} catch (Exception e) {
to catch all exceptions from which recovery may be possible without
catching errors from which recovery is typically not possible. "
cheers,
dalibor topic