There are a lot of "errors" that should be converted
to buildexceptions.
examples are "NoClassDefFoundError", "VerifyError" etc
Peter
Jose Alberto Fernandez wrote:
Fair enough, but notice that the fix to <subant> failonerror
(or is it the keepGoing global switch) will swallow Errors.
In any case, is there concensus to do at least the RuntimeExceptions.
Jose Alberto
-----Original Message-----
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: 05 May 2004 07:34
To: [EMAIL PROTECTED]
Subject: Re: Trapping RuntimeExceptions form Tasks
On 04 May 2004, Erik Meade <[EMAIL PROTECTED]> wrote:
Why don't you feel comfortable catching Errors?
Since Errors should only be thrown in unrecoverable
situations (that's the theory, I know).
I don't think that Ant should continue after an
OutOfMemoryError for example There are others and we'll
never manage to enumerate all Throwables that we don't want to catch.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]