ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject RE: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs
Date Fri, 24 Sep 2004 13:56:44 GMT
> -----Original Message-----
> From: []
>   +* Incorrect task name with invalid "javac" task after a "presetdef.
>   +  Bugzilla reports 31389 and 29499.

I'm not too fond of the setMessage() method on the new exceptions,
which forces to duplicate the immutable msg of all execeptions.

Why not use exception chaining, and rethrow a new exception that
nests the old one, adding higher-level info like the context in
which the attribute/element was unsupported?

I don't like mutable exceptions... --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message