(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSAssertionHandler 

Inherits From:	NSObject 

Conforms To:	NSObject 

Declared In:	foundation/NSExceptions.h 

Getting the Current Handler 

+ (NSAssertionHandler *)currentHandler	Returns the assertion handler for the current thread.

Handling Failures

- (void)handleFailureInFunction:(NSString *)functio	Logs an error message that includes the function
file:(NSString *)fileName		name; the source file fileName and
lineNumber:(int)line		line number where the failure occured;
description:(NSString *)description,...		and a short description of the failure. It then raises an exception.
- (void)handleFailureInMethod:(SEL)selector	Logs an error message that includes the method (selector)
object:(id)object		and object associated with the failure; 
file:(NSString *)fileName		the source file  fileName and
lineNumber:(int)line		line number in that file where the failure occured;
description:(NSString *)description,...		and a short description of the failure.  It then raises an exception.