.. _exceptions-trynocatch: .. _try-without-catch: Try Without Catch +++++++++++++++++ Try may only hold a finally clause, to ensure that some code is always executed, in case of `error `_ or not. This is very rare. .. code-block:: php Connex PHP features ------------------- + `try `_ + `catch `_ + `finally `_ Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Exceptions/TryNoCatch | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior `, :ref:`Dump ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 2.6.4 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Quick (30 mins) | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+