try: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (attempt to improve readability of descripiton example.) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Defines a try-catch structure. This sets up an [[Exception handling|exception handling]] block. Any thrown exception in a try block is caught in a [[catch]] block. The structured exception block has following | | Defines a try-catch structure. This sets up an [[Exception handling|exception handling]] block. Any thrown exception in a try block is caught in a [[catch]] block. The structured exception block has following form: | ||
try //begin of try-catch block | |||
{ //block, that can throw exception } | |||
catch | |||
{ //block, that process an exception. Exception is described in _exception variable }; |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 04:39, 23 June 2007
Description
- Description:
- Defines a try-catch structure. This sets up an exception handling block. Any thrown exception in a try block is caught in a catch block. The structured exception block has following form: try //begin of try-catch block { //block, that can throw exception } catch { //block, that process an exception. Exception is described in _exception variable };
- Groups:
- Uncategorised
Syntax
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