Wiki

Changes between Version 4 and Version 5 of Try

Show
Ignore:
Timestamp:
05/31/13 13:19:23 (11 years ago)
Author:
hopscc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Try

    v4 v5  
    88    * catch exception type ignoring actual instance 
    99    * catchAll clause - catch any exceptions not already given 
     10 
     11There can be multiple catch clauses given specifying different exceptions to trap but there can be only one 'catchAll' clause. 
     12 
    1013     
    1114The '''success''' clause is optional and if specified is executed only if no catch clauses  
     
    2629    <statements> 
    2730catch <VarName> as <exceptionType>  (*1)   or 
    28 catch <exceptionType>             (*2)   or 
     31catch <exceptionType>               (*2)   or 
    2932catch                           (*3) 
    3033    <statements>