Function objc2::exception::throw [−][src]
Expand description
Throws an Objective-C exception.
The argument must be a pointer to an Objective-C object.
Safety
This unwinds from Objective-C, and the exception must be caught using an
Objective-C exception handler like catch
(and specifically not
catch_unwind
).
This also invokes undefined behaviour until C-unwind
is stabilized, see
RFC-2945.