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

NSException 

Inherits From:	NSObject 

Conforms To:	NSCoding
NSCopying
NSObject 

Declared In:	foundation/NSException.h 

Creating and Raising Exceptions

+ (NSException *)exceptionWithName:(NSString *)name
reason:(NSString *)reason	Creates an exception object, assigning it name as its name,
userInfo:(NSDictionary *)userInfo		reason as its human-readable explanation, and userInfo as arbitrary data that will accompany the exception.
- (id)initWithName:(NSString *)name	Initializes a newly allocated exception object, assigning it 
reason:(NSString *)reason		name as its name, reason as its human-readable
userInfo:(NSDictionary *)userInfo		explanation, and userInfo as arbitrary data that will accompany the exception.
+ (volatile void)raise:(NSString *)name	Creates and raises an exception with name name and 
format:(NSString *)format,...		a reason constructed from format and the following arguments  in the manner of printf().  The user-defined information is nil.  Invokes raise as part of its implementation.
+ (volatile void)raise:(NSString *)name	Creates and raises an exception with name name and
format:(NSString *)format		a reason constructed from format and the arguments in 
arguments:(va_list)argList		argList, in the manner of vprintf().  The user-defined information is nil.  Invokes raise as part of its implementation.
- (volatile void)raise	Raises the exception, causing program flow to jump to the enclosing error handler.

Querying Exceptions

- (NSString *)name	Returns the exception's name.  See exceptionWithName:reason:userInfo:.
- (NSString *)reason	Returns the exception's reason.  See exceptionWithName:reason:userInfo:.
- (NSDictionary *)userInfo	Returns the exception's user-defined data.  See exceptionWithName:reason:userInfo:.