[Python-Dev] Exception masking/chaining

Fred L. Drake, Jr. fdrake@acm.org
2003年6月12日 08:49:51 -0400


Barry Warsaw writes:
 > I'm not keen on the name "cause" for the start of the exception chain.
 > I'm not sure I have a better suggestion. Maybe "antecedent"? ;/
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.
 -Fred
-- 
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation

AltStyle によって変換されたページ (->オリジナル) /