@@ -19,11 +19,11 @@ OF_ASSUME_NONNULL_BEGIN @class OFXMLElement; -/*! +/** * @class OFUnboundNamespaceException \ * OFUnboundNamespaceException.h ObjFW/OFUnboundNamespaceException.h * * @brief An exception indicating an attempt to use an unbound namespace. */ @@ -31,27 +31,27 @@ { OFString *_namespace; OFXMLElement *_element; } -/*! +/** * @brief The unbound namespace. */ #ifndef __cplusplus @property (readonly, nonatomic) OFString *namespace; #else @property (readonly, nonatomic, getter=namespace) OFString *namespace_; #endif -/*! +/** * @brief The element in which the namespace was not bound. */ @property (readonly, nonatomic) OFXMLElement *element; + (instancetype)exception OF_UNAVAILABLE; -/*! +/** * @brief Creates a new, autoreleased unbound namespace exception. * * @param namespace_ The namespace which is unbound * @param element The element in which the namespace was not bound * @return A new, autoreleased unbound namespace exception @@ -59,11 +59,11 @@ + (instancetype)exceptionWithNamespace: (OFString *)namespace_ element: (OFXMLElement *)element; - (instancetype)init OF_UNAVAILABLE; -/*! +/** * @brief Initializes an already allocated unbound namespace exception. * * @param namespace_ The namespace which is unbound * @param element The element in which the namespace was not bound * @return An initialized unbound namespace exception