A try block must be followed by either one or more catch blocks, or a finally block, or both. Each of the following patterns is valid:
try { <script> } catch { <script> } try { <script> } finally { <script> } try { <script> } catch { <script> } finally { <script }
An error occurring within try will trigger the execution of catch.