net.sf.antcontrib.logic

Class 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.

Method Summary
voidexecute()
voidsetRefid(Reference ref)
The reference that points to a BuildException.

Method Detail

execute

public void execute()

setRefid

public void setRefid(Reference ref)
The reference that points to a BuildException.