20 #import "OFException.h" 22 OF_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;
An exception indicating a JSON representation is invalid.
Definition: OFInvalidJSONException.h:30
A class for handling strings.
Definition: OFString.h:138
The base class for all exceptions in ObjFW.
Definition: OFException.h:154
OFString * string
The string containing the invalid JSON representation.
Definition: OFInvalidJSONException.h:40