17 #import "OFException.h" 19 OF_ASSUME_NONNULL_BEGIN
46 + (instancetype)exceptionWithVersion: (
OFString *)version;
48 -
init OF_UNAVAILABLE;
56 - initWithVersion: (
OFString *)version OF_DESIGNATED_INITIALIZER;
A class for handling strings.
Definition: OFString.h:114
An exception indicating that the specified version of the format or protocol is not supported...
Definition: OFUnsupportedVersionException.h:28
OFString * version
Definition: OFUnsupportedVersionException.h:36
id init()
Initializes an already allocated object.
Definition: OFObject.m:488
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
instancetype exception()
Creates a new, autoreleased exception.
Definition: OFException.m:250