commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dion Gillard" <dion.gill...@gmail.com>
Subject Re: [jelly] how to throw an exception in a jelly script, or make it fail?
Date Tue, 08 Aug 2006 00:11:14 GMT
You can you use the ant tag library for jelly (not Ant itself) and use a <fail>.

On 8/8/06, Karr, David <david.karr@wamu.net> wrote:
> If in my Jelly script, I detect a condition that should cause the entire
> script to fail?  What is the best way to handle this?  I don't see how
> you throw an exception, or cause the script to exit.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


-- 
http://www.multitask.com.au/people/dion/
"If you even dream of beating me you'd better wake up and apologize" -
Muhammad Ali

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message