16#import "OFException.h"
18OF_ASSUME_NONNULL_BEGIN
41@property (readonly, nonatomic)
size_t line;
50+ (instancetype)exceptionWithString: (nullable
OFString *)string
53+ (instancetype)exception OF_UNAVAILABLE;
62- (instancetype)initWithString: (nullable
OFString *)string
63 line: (
size_t)line OF_DESIGNATED_INITIALIZER;
65- (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:151
An exception indicating a JSON representation is invalid.
Definition OFInvalidJSONException.h:27
OFString * string
The string containing the invalid JSON representation.
Definition OFInvalidJSONException.h:36
A class for handling strings.
Definition OFString.h:135