it.haefelinger.flaka
Class Throw
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Exit
it.haefelinger.flaka.Throw
- All Implemented Interfaces:
- Cloneable
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.
- Since:
- 1.0
- Author:
- merzedes
|
Constructor Summary |
Throw()
|
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
reference
protected Reference reference
Throw
public Throw()
setVar
public void setVar(Reference var)
setReference
public void setReference(Reference var)
execute
public void execute()
throws BuildException
- Overrides:
execute in class Exit
- Throws:
BuildException