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