try … catch … finally
try … catch … finally
Description
try { mixed code, mixed catch, mixed finally } … catch … finally
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
code | mixed | No | ||
catch | catch, finally or both needs to is reqired. | mixed | ||
finally | catch, finally or both needs to is reqired. | mixed |
Examples
Example #1 – if … else example