17 #import "OFException.h" 19 OF_ASSUME_NONNULL_BEGIN
52 + (instancetype)exceptionWithString: (nullable
OFString *)string
55 -
init OF_UNAVAILABLE;
64 - initWithString: (nullable
OFString *)string
65 line: (
size_t)line OF_DESIGNATED_INITIALIZER;
A class for handling strings.
Definition: OFString.h:114
id init()
Initializes an already allocated object.
Definition: OFObject.m:488
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
size_t line
Definition: OFInvalidJSONException.h:41
readonly
Definition: OFInvalidJSONException.h:36
instancetype exception()
Creates a new, autoreleased exception.
Definition: OFException.m:250
An exception indicating a JSON representation is invalid.
Definition: OFInvalidJSONException.h:27