Proposal: ARM and SuppressedException

Mark Thornton mthornton at
Mon Sep 7 11:58:19 PDT 2009

Neal Gafter wrote:
> I have a problem with this from a software engineering point of view.  While
> you've certainly found a place to put these exceptions without adding any
> further fields, it's hard to see how making the suppressed exception
> masquerade as a cause of some other exception will assist in locating or
> diagnosing the problem.
> On the other hand, this isn't much worse than the current proposal.  It's to
> see how the current proposal supports handling of suppressed exceptions,
> unless code to check for them are sprinkled liberally throughout (the
> exception handlers of) a code base.
> 2009/9/7 Frédéric Martini <frederic.martini at>
It might be silghtly better to create a SuppressedException which has 
the actual suppressed exception as its cause and then chain that on the 
cause as suggested.

Mark Thornton

More information about the coin-dev mailing list