Ignore:
Timestamp:
03/05/08 03:01:09 (16 years ago)
Author:
Nicholas Riley
Message:

Use @try/@catch/@finally rather than macro-based exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEETTView.m

    r388 r436  
    4040void ICCF_LaunchURLFromTTView(ICeCoffEETTView *self, NSEvent *triggeringEvent, NSRange range) {
    4141   
    42     NS_DURING
    43 
     42    @try {
    4443        NSString *s = [self string];
    4544        unsigned length = [s length];
     
    7372            ICCF_discardNextMouseUp = YES;
    7473        }
    75        
    76     NS_HANDLER
    77         ICCF_HandleException(localException, triggeringEvent);
    78     NS_ENDHANDLER
     74    } @catch (NSException *e) {
     75        ICCF_HandleException(e, triggeringEvent);
     76    }
    7977   
    8078    ICCF_StopIC();
Note: See TracChangeset for help on using the changeset viewer.