| Syntax |
|
| Documentation | Catches any exceptions that could be thrown by executing the given statement block: $try{statement_block}{exception_name_1}{exception_block_1}{exception_name_2}{exception_block_2} ... {exception_name_n}{exception_block_n}{default_block}
exception_name_1 through exception_name_n, the name of the exception to catch if thrown. exception_block_1 through exception_block_n, the statement block to execute if the corresponding specified exception occured. default_block, a default statement block to be executed if any exception occured other than the specified.
exception_block, the statement block to execute if any exception occur. |
| Examples | |
Delete table Users
Result: if the sql command succeeds: Delete table Users ... ok. if the sql command doesn't succeed: Delete table Users failed. |
|
| Group | Control_Flow |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 2 |
| Maximum parameters | <unlimited> |