net.sf.antcontrib.logic
Class Throw
Exit
net.sf.antcontrib.logic.Throw
public class Throw
extends Exit
Extension of
<fail>
that can throw an exception
that is a reference in the project.
This may be useful inside the
<catch>
block
of a
<trycatch>
task if you want to rethrow the
exception just caught.
void | execute()
|
void | setRefid(Reference ref) - The reference that points to a BuildException.
|
execute
public void execute()
throws BuildException
setRefid
public void setRefid(Reference ref)
The reference that points to a BuildException.