Monitor and debug exceptional conditions in code.
- macOS 10.0+
- UIKit for Mac 13.0+Beta
This collection of documents provides the API reference for the Exception Handling framework. This framework provides facilities for monitoring and debugging exceptional conditions in Objective-C code.
Currently only one class reference is part of this collection: the reference for the
NSExceptionHandler class, which is defined in
NSExceptionHandler class provides facilities for monitoring and debugging exceptional conditions in Objective-C programs. It works by installing a special uncaught exception handler via the
NSSetUncaughtExceptionHandler function. Consequently, to use the services of
NSExceptionHandler, you must not install your own custom uncaught exception handler.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software