Macro

NS_ENDHANDLER

Marks the end of the local event handler.

Declaration

#define NS_ENDHANDLER

Discussion

The NS_ENDHANDLER marks the end of a section of code that is a local exception handler. (The NS_HANDLERmacros marks the beginning of this section.) If an exception is raised in the exception handling domain marked off by the NS_DURING and NS_HANDLER, the local exception handler (if specified) is given a chance to handle the exception.

See Also

Legacy Macros

NS_DURING

Marks the start of the exception-handling domain.

NS_HANDLER

Marks the end of the exception-handling domain and the start of the local exception handler.

NS_VALUERETURN

Permits program control to exit from an exception-handling domain with a value of a specified type.

NS_VOIDRETURN

Permits program control to exit from an exception-handling domain.

Beta Software

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