@@ -17,11 +17,11 @@ #import "OFException.h" OF_ASSUME_NONNULL_BEGIN -/*! +/** * @class OFChecksumMismatchException \ * OFChecksumMismatchException.h ObjFW/OFChecksumMismatchException.h * * @brief An exception indicating that a checksum did not match. */ @@ -28,23 +28,23 @@ @interface OFChecksumMismatchException: OFException { OFString *_actualChecksum, *_expectedChecksum; } -/*! +/** * @brief The actual checksum calculated. */ @property (readonly, nonatomic) OFString *actualChecksum; -/*! +/** * @brief The expected checksum. */ @property (readonly, nonatomic) OFString *expectedChecksum; + (instancetype)exception OF_UNAVAILABLE; -/*! +/** * @brief Creates a new, autoreleased checksum mismatch exception. * * @param actualChecksum The actual checksum calculated * @param expectedChecksum The expected checksum * @return A new, autoreleased checksum mismatch exception. @@ -52,11 +52,11 @@ + (instancetype)exceptionWithActualChecksum: (OFString *)actualChecksum expectedChecksum: (OFString *)expectedChecksum; - (instancetype)init OF_UNAVAILABLE; -/*! +/** * @brief Initializes an already allocated checksum mismatch exception. * * @param actualChecksum The actual checksum calculated * @param expectedChecksum The expected checksum * @return An initialized checksum mismatch exception.