ARM API Support
Paul Benedict
pbenedict at apache.org
Thu Jun 24 08:48:16 PDT 2010
I understand the technical difference, but do you see my point that
"suppressed" vs. "cause" is a very thin difference? I can use English
to actually express both ARM and root causes and be correct -- if not
imprecise technically. Conversely, if I catch X and throw Y without
setting X as a root cause, I actually suppressed X.
I don't have a better word choice for you at this time, but it's
something for everyone to think about.
On Thu, Jun 24, 2010 at 10:39 AM, Neal Gafter <neal at gafter.com> wrote:
> 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