public class Throw
extends org.apache.tools.ant.taskdefs.Exit
<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.
Constructor and Description |
---|
Throw() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
setRefid(org.apache.tools.ant.types.Reference ref)
The reference that points to a BuildException.
|
addText, createCondition, setIf, setIf, setMessage, setStatus, setUnless, setUnless
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setRefid(org.apache.tools.ant.types.Reference ref)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.taskdefs.Exit
org.apache.tools.ant.BuildException