Cocoa provides predefined number of generic exceptions.
NSException.h file provides the generic exception names and all of these
exception names are string constants.
Here is some of generic exception names:
-NSGenericException
-NSRangeException
-NSInvalidArgumentException
-NSObjectInaccessibleException
-NSObjectNotAvailableException
-NSDestinationInvalidException
-NSPortTimeoutException
-NSInvalidSendPortException
-NSInvalidReceivePortException and more…
Some subsystems of Cocoa defines their own exception names
like:
-NSInconsistentArchiveException
-NSFileHandleOperationException
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Cocoa provides predefined number of generic exceptions. NSException.h file provides the generic exception names and all of these exception names are string constants.
Here is some of generic exception names:
- NSGenericException
- NSRangeException
- NSInvalidArgumentException
- NSObjectInaccessibleException
- NSObjectNotAvailableException
- NSDestinationInvalidException
- NSPortTimeoutException
- NSInvalidSendPortException
- NSInvalidReceivePortException and more…
Some subsystems of Cocoa defines their own exception names like:
- NSInconsistentArchiveException
- NSFileHandleOperationException