17 #import "OFException.h" 19 OF_ASSUME_NONNULL_BEGIN
39 @property (readonly, nonatomic)
OFString *
namespace;
41 @property (readonly, nonatomic, getter=
namespace)
OFString *namespace_;
58 + (instancetype)exceptionWithNamespace: (
OFString *)namespace_
61 -
init OF_UNAVAILABLE;
70 - initWithNamespace: (
OFString *)namespace_
71 element: (
OFXMLElement *)element OF_DESIGNATED_INITIALIZER;
A class for handling strings.
Definition: OFString.h:114
OFXMLElement * element
Definition: OFUnboundNamespaceException.h:39
id init()
Initializes an already allocated object.
Definition: OFObject.m:488
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
A class which stores an XML element.
Definition: OFXMLElement.h:33
instancetype exception()
Creates a new, autoreleased exception.
Definition: OFException.m:250
An exception indicating an attempt to use an unbound namespace.
Definition: OFUnboundNamespaceException.h:29