ARM API Support
Neal Gafter
neal at gafter.com
Thu Jun 24 08:39:17 PDT 2010
Suppression occurs due to the constructs of the language (the ARM try), in
which an exception propogating out of the implied finally block simply
discards (suppresses) any exceptions from the try block without any
programmer expression of this intent. Moreover, more than one exceptions
can be suppressed. This is completely different from exception causes,
which are explicit user expression of intent that one exception was the
cause of the other.
On Thu, Jun 24, 2010 at 8:15 AM, Paul Benedict <pbenedict at apache.org> wrote:
> I would like to ask a philosophical question. What exactly is the
> philosophical difference between a suppressed exception and a
> exception's root cause(s)? I see them as near identical. If you can
> justify why they are actually quite different, are they different
> enough to call out a distinction?
>
> >From a colloquial perspective, I can see someone reasonably explaining
> that when he caught exception X and wrapped it in exception Y (with
> root cause of X), he actually "suppressed" the X exception.
>
> Paul
>
>
More information about the coin-dev
mailing list