@@ -17,11 +17,11 @@ #import "OFException.h" OF_ASSUME_NONNULL_BEGIN -/*! +/** * @class OFUnsupportedVersionException \ * OFUnsupportedVersionException.h ObjFW/OFUnsupportedVersionException.h * * @brief An exception indicating that the specified version of the format or * protocol is not supported. @@ -29,32 +29,32 @@ @interface OFUnsupportedVersionException: OFException { OFString *_version; } -/*! +/** * @brief The version which is unsupported. */ @property (readonly, nonatomic) OFString *version; + (instancetype)exception OF_UNAVAILABLE; -/*! +/** * @brief Creates a new, autoreleased unsupported version exception. * * @param version The version which is unsupported * @return A new, autoreleased unsupported version exception */ + (instancetype)exceptionWithVersion: (OFString *)version; - (instancetype)init OF_UNAVAILABLE; -/*! +/** * @brief Initializes an already allocated unsupported protocol exception. * * @param version The version which is unsupported * @return An initialized unsupported version exception */ - (instancetype)initWithVersion: (OFString *)version OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END