Skip navigation.
 
mlRe: Crashing on all relevant exceptions
FROM : Shaun Wexler
DATE : Tue Aug 08 05:19:22 2006

On Aug 7, 2006, at 8:06 PM, Shaun Wexler wrote:

>    if (className && (appClass = NSClassFromString(className)) = 
> Nil) {
>        appClass = [NSApplication class];
>    }


!@#$!#$^&* typos.  Instead, use this:

    if (!className || (appClass = NSClassFromString(className)) == 
Nil) {
        [NSException raise:NSInternalInconsistency format:@"Unknown 
NSApplication subclass: %@", className];
    }

--
Shaun Wexler
MacFOH
http://www.macfoh.com

"No problem is so formidable that you can't walk away from it." - 
Charles Schulz

Related mailsAuthorDate
mlCrashing on all relevant exceptions Aaron Jacobs Aug 7, 00:31
mlRe: Crashing on all relevant exceptions Nick Zitzmann Aug 7, 08:23
mlRe: Crashing on all relevant exceptions Aaron Jacobs Aug 7, 08:30
mlRe: Crashing on all relevant exceptions Chris Suter Aug 7, 08:34
mlRe: Crashing on all relevant exceptions Nick Zitzmann Aug 7, 17:47
mlRe: Crashing on all relevant exceptions Matt Neuburg Aug 7, 17:48
mlRe: Crashing on all relevant exceptions Aaron Jacobs Aug 7, 22:48
mlRe: Crashing on all relevant exceptions Aaron Jacobs Aug 7, 23:59
mlRe: Crashing on all relevant exceptions Shaun Wexler Aug 8, 02:28
mlRe: Crashing on all relevant exceptions Nick Zitzmann Aug 8, 03:38
mlRe: Crashing on all relevant exceptions Aaron Jacobs Aug 8, 04:34
mlRe: Crashing on all relevant exceptions Aaron Jacobs Aug 8, 04:53
mlRe: Crashing on all relevant exceptions Shaun Wexler Aug 8, 05:06
mlRe: Crashing on all relevant exceptions Aaron Jacobs Aug 8, 05:17
mlRe: Crashing on all relevant exceptions Shaun Wexler Aug 8, 05:19
mlRe: Crashing on all relevant exceptions Shaun Wexler Aug 8, 05:46
mlRe: Crashing on all relevant exceptions Aaron Jacobs Aug 8, 05:56
mlRe: Crashing on all relevant exceptions Shaun Wexler Aug 8, 23:12
mlRe: Crashing on all relevant exceptions Aaron Jacobs Aug 9, 00:35