20#ifdef OBJFWBRIDGE_LOCAL_INCLUDES
23# if defined(__has_feature) && __has_feature(modules)
26# import <ObjFW/OFException.h>
30OF_ASSUME_NONNULL_BEGIN
49+ (void)try: (
void (^)(
void))try
60+ (void)try: (
void (^)(
void))try finally: (
void (^)(
void))finally;
72+ (void)try: (
void (^)(
void))try
74 finally: (
void (^)(
void))finally;
82- (void)throw OF_NO_RETURN;
Support for throwing and catching an OFException in Swift.
The base class for all exceptions in ObjFW.
Definition OFException.h:157