File: throw.html

package info (click to toggle)
ant-contrib 1.0~b3%2Bsvn177-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,008 kB
  • sloc: java: 12,697; xml: 2,674; makefile: 7
file content (39 lines) | stat: -rw-r--r-- 1,130 bytes parent folder | download | duplicates (6)
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>&lt;fail&gt;</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>&lt;trycatch&gt;</code> task in the
    <code>&lt;catch&gt;</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>&lt;fail&gt;</code>
    task</a> are supported.</p>

    <hr>
    <p align="center">Copyright &copy; 2002 Ant-Contrib Project. All
    rights Reserved.</p>

  </body>
</html>