ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: Trapping RuntimeExceptions form Tasks
Date Wed, 05 May 2004 12:46:58 GMT
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:bodewig@apache.org] 
> Sent: 05 May 2004 07:34
> To: dev@ant.apache.org
> Subject: Re: Trapping RuntimeExceptions form Tasks
> 
> 
> On 04 May 2004, Erik Meade <ant-m@eghm.net> 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: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message