22OF_ASSUME_NONNULL_BEGIN
45@property (readonly, nonatomic)
size_t line;
54+ (instancetype)exceptionWithString: (nullable
OFString *)string
57+ (instancetype)exception OF_UNAVAILABLE;
66- (instancetype)initWithString: (nullable
OFString *)string
67 line: (
size_t)line OF_DESIGNATED_INITIALIZER;
69- (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
An exception indicating a JSON representation is invalid.
Definition OFInvalidJSONException.h:31
OFString * string
The string containing the invalid JSON representation.
Definition OFInvalidJSONException.h:40
A class for handling strings.
Definition OFString.h:139