<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # B.47 TryCatchTask This task is a wrapper task that lets you run tasks(s) when another set of tasks fails, mirroring PHP's `try/catch` functionality (with the addition of `finally` block) The tasks inside of the `try` block will always be run. If one of them throws a BuildException, the following things can happen: - If聽there聽is聽no聽`catch`聽block,聽the exception聽will聽be聽passed聽to聽Phing. - If the `property` attribute has been set a property of that name will contain the message of the exception. - If聽there聽is聽a `catch` block, the nested tasks will be run. If a `finally` block is present, the nested tasks will be run regardless of whether the tasks in the `try` block have thrown an exception or not. This task was inspired by <http://ant-contrib.sourceforge.net/tasks/tasks/trycatch.html>. Table B.48:聽Attributes NameTypeDescriptionDefaultRequired`property``String`Name of a property that will receive the message of the exception that has been caught (if any)n/aNo B.47.1 Examples ``` <trycatch property="foo"> <try> <fail>Tada!</fail> </try> <catch> <echo>In catch.</echo> </catch> <finally> <echo>In finally.</echo> </finally> </trycatch> <echo>As property: ${foo}</echo> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看