Changeset 530

Show
Ignore:
Timestamp:
05/10/08 17:46:12 (8 months ago)
Author:
gbooker
Message:

Some exception logging if needed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SapphireFrappliance/SapphireAppliance.m

    r496 r530  
    122122- (id)applianceController 
    123123{ 
    124         return ( [[[SapphireApplianceController alloc] initWithScene: nil] autorelease] ); 
     124        SapphireApplianceController *cont = nil; 
     125        @try { 
     126                cont = [[[SapphireApplianceController alloc] initWithScene: nil] autorelease]; 
     127        } 
     128        @catch (NSException * e) { 
     129                [SapphireApplianceController logException:e]; 
     130        } 
     131         
     132        return cont; 
    125133} 
    126134