[Python-Dev] Exception masking/chaining
Barry Warsaw
barry@python.org
12 Jun 2003 10:26:44 -0400
On Thu, 2003-06-12 at 08:49, Fred L. Drake, Jr. wrote:
> I actually like "cause" better than "antecedent", though not by a
> whole lot. The SAX exception (SAXException, of course;) provides a
> method getException() to retrieve the embedded exception, though I'd
> prefer a simple attribute or property.
Me too, but "cause" implies (to me) a stronger connection between the
original exception and the one you've just caught. More suggestions,
none great: "original", "chain", "chainedexc", "exc_chain", "excprev",
"previous".
-Barry