16 #import "OFException.h"
18 OF_ASSUME_NONNULL_BEGIN
40 @property (readonly, nonatomic)
size_t line;
42 + (instancetype)exception OF_UNAVAILABLE;
51 + (instancetype)exceptionWithString: (nullable
OFString *)string
54 - (instancetype)init OF_UNAVAILABLE;
63 - (instancetype)initWithString: (nullable
OFString *)string
64 line: (
size_t)line OF_DESIGNATED_INITIALIZER;
The base class for all exceptions in ObjFW.
Definition: OFException.h:147
An exception indicating a JSON representation is invalid.
Definition: OFInvalidJSONException.h:27
OFString * string
The string containing the invalid JSON representation.
Definition: OFInvalidJSONException.h:35
A class for handling strings.
Definition: OFString.h:132