|
|
Log In | Not a Member? |
Contact ADC |
Category of: NSException
Declared in:
- EOControl/EOClassDescription.h
Enterprise Objects Framework adds methods to the Foundation Framework's NSException class for handling validating errors and augmenting an exception's userInfo dictionary. The methods used for validation errors are validationExceptionWithFormat: and aggregateExceptionWithExceptions:. You use validationExceptionWithFormat: in an enterprise object's validateFor... or validateProperty: method, as described in the NSObject Additions class specification. The other method used for validation errors, aggregateExceptionWithExceptions:, is used internally by the Framework to group multiple validation exceptions together.
The method exceptionAddingEntriesToUserInfo: is used to augment an exception's userInfo dictionary.
+ (NSException *)aggregateExceptionWithExceptions:(NSArray
*)subexceptions
See Also: - exceptionAddingEntriesToUserInfo:
+ (NSException *)validationExceptionWithFormat:(NSString
*)format,
...
[NSException validationExceptionWithFormat:@"invalid name \"%@\": entity names cannot be nil or empty", name];
- (NSException *)exceptionAddingEntriesToUserInfo:(NSDictionary
*)additions