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