Changes between Version 2 and Version 3 of Try
- Timestamp:
- 12/23/10 08:59:41 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Try
v2 v3 24 24 {{{ 25 25 try 26 BLOCK27 catch VARNAME as EXCEPTIONTYPE(*1) or28 catch EXCEPTIONTYPE(*2) or26 <statements> 27 catch <VarName> as <exceptionType> (*1) or 28 catch <exceptionType> (*2) or 29 29 catch (*3) 30 CATCH_BLOCK 31 30 <statements> 32 31 [success (*4) 33 SUCCESS_BLOCK]32 <statements> ] 34 33 35 34 [finally (*4) 36 FINALLY_BLOCK]35 <statements> ] 37 36 38 37 }}} … … 40 39 within the subsequent catch codeblock 41 40 42 *2 - Use this form to catch a particular exceptionType when dont need the particular41 *2 - Use this form to catch a particular exceptionType when you dont need the particular 43 42 exception instance. (To ignore the exception or exit for example) 44 43