22OF_ASSUME_NONNULL_BEGIN
48+ (instancetype)exceptionWithVersion: (
OFString *)version;
58- (instancetype)initWithVersion: (
OFString *)version OF_DESIGNATED_INITIALIZER;
60- (instancetype)
init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype exception()
Creates a new, autoreleased exception.
Definition OFException.m:283
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
A class for handling strings.
Definition OFString.h:143
An exception indicating that the specified version of the format or protocol is not supported.
Definition OFUnsupportedVersionException.h:32
OFString * version
The version which is unsupported.
Definition OFUnsupportedVersionException.h:40