1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Ant-contrib Tasks: Throw</title>
</head>
<body>
<h1>Throw</h1>
<p>Extension of Ant's built-in <code><fail></code> task that
can throw an exception that is given by a reference. This may be
useful if you want to rethrow the exception that has been caught
by a <code><trycatch></code> task in the
<code><catch></code> block.</p>
<h2>Parameters</h2>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<th>Attribute</th>
<th>Description</th>
<th>Required</th>
</tr>
<tr>
<td valign="top">refid</td>
<td valign="top">Id of the referenced exception.</td>
<td align="center" valign="top">No.</td>
</tr>
</table>
<p>In addition, all attributes of the <a
href="http://jakarta.apache.org/ant/manual/CoreTasks/fail.html"><code><fail></code>
task</a> are supported.</p>
<hr>
<p align="center">Copyright © 2002 Ant-Contrib Project. All
rights Reserved.</p>
</body>
</html>
|