catch: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
No edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Processes code when an [[ | | Processes code when an [[Exception handling|exception]] is thrown in a [[try]] block. The exception caught can be found in the _exception variable. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| try-block '''catch''' code |= Syntax | | try-block '''catch''' code |= Syntax | ||
|p1= try-Block [[Exception Type]] |= Parameter 1 | |p1= try-Block [[Exception handling|Exception Type]] |= Parameter 1 | ||
|p2= code [[Code]] |= Parameter 2 | |p2= code [[Code]] |= Parameter 2 |
Revision as of 08:39, 21 December 2012
Description
- Description:
- Processes code when an exception is thrown in a try block. The exception caught can be found in the _exception variable.
- Groups:
- Uncategorised
Syntax
- Syntax:
- try-block catch code
- Parameters:
- try-Block Exception Type
- code Code
- Return Value:
- Anything
Examples
- Examples:
- Example needed
Additional Information
- See also:
- Exception handling
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note