Syntax

Exception handling syntax defines which combinations can be used.

These combinations are allowed:

  • try/catch
  • try/finally
  • try/catch/finally
try
try {try_statements}   
catch
catch (Exception identifier ) {catch_statements }
finally
finally {finally_statements}