On Fri, Apr 11, 2008 at 12:48 PM, Lars Hansen <[EMAIL PROTECTED]> wrote: > Ah! Of course. > > The natural thing to spec would be that the text of the expression > would be part of (all of?) the "message" of the exception object > in the 1-arg case.
Or would it be better for AssertionError to have another field (say, "expression") storing that, and then optionally use that in the default value of "message", which could be slightly more informative (e.g., "Assertion failed: <expression>")? Maybe that's unnecessary, but I thought I'd throw it out there. -- T. Michael Keesey Director of Technology Exopolis, Inc. 2894 Rowena Avenue Ste. B Los Angeles, California 90039 http://exopolis.com/ -- http://3lbmonkeybrain.blogspot.com/ _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
