cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Questions about the CocoonTask class
Date Mon, 12 Jul 2004 11:16:13 GMT
Upayavira wrote:
> >
> To be honest, I hadn't got my head around how to handle error 
> conditions within the task. Maybe it should throw a 
> BuildException, but as you observed, I didn't quite know what 
> to do with this error - my Ant knowledge was too shaky (and 
> stil is) to work out exactly what to do. Do you have any 
> ideas of the best way to handle error reporting here?
> 
Hmm, I'm not an Ant expert, but in the tasks I wrote I always
simple threw an exception. In some cases I logged the error
using the Ant logging mechanism as well.

Carsten


Mime
View raw message