16#import "OFException.h"
18OF_ASSUME_NONNULL_BEGIN
36@property (readonly, nonatomic)
OFString *version;
44+ (instancetype)exceptionWithVersion: (
OFString *)version;
46+ (instancetype)exception OF_UNAVAILABLE;
54- (instancetype)initWithVersion: (
OFString *)version OF_DESIGNATED_INITIALIZER;
56- (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:151
A class for handling strings.
Definition OFString.h:135
An exception indicating that the specified version of the format or protocol is not supported.
Definition OFUnsupportedVersionException.h:28