22OF_ASSUME_NONNULL_BEGIN
32 OFString *_actualChecksum, *_expectedChecksum;
55+ (instancetype)exceptionWithActualChecksum: (
OFString *)actualChecksum
56 expectedChecksum: (
OFString *)expectedChecksum;
58- (instancetype)
init OF_UNAVAILABLE;
67- (instancetype)initWithActualChecksum: (
OFString *)actualChecksum
68 expectedChecksum: (
OFString *)expectedChecksum
69 OF_DESIGNATED_INITIALIZER;
An exception indicating that a checksum did not match.
Definition OFChecksumMismatchException.h:31
OFString * expectedChecksum
The expected checksum.
Definition OFChecksumMismatchException.h:44
OFString * actualChecksum
The actual checksum calculated.
Definition OFChecksumMismatchException.h:39
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype exception()
Creates a new, autoreleased exception.
Definition OFException.m:283
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
A class for handling strings.
Definition OFString.h:143