Macro

NS_VOIDRETURN

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

Declaration

#define NS_VOIDRETURN

Discussion

The NS_VOIDRETURN macro returns program control to the caller out of the exception-handling domain—that is, a section of code between the NS_DURING and NS_HANDLER macros that might raise an exception. The standard return statement does not work as expected in the exception-handling domain.

See Also

Legacy Macros

NS_DURING

Marks the start of the exception-handling domain.

NS_ENDHANDLER

Marks the end of the local event handler.

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.