ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Trapping RuntimeExceptions form Tasks
Date Wed, 05 May 2004 06:33:36 GMT
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


Mime
View raw message