16 #import "OFException.h"
18 OF_ASSUME_NONNULL_BEGIN
28 OFString *_actualChecksum, *_expectedChecksum;
34 @property (readonly, nonatomic)
OFString *actualChecksum;
39 @property (readonly, nonatomic)
OFString *expectedChecksum;
41 + (instancetype)exception OF_UNAVAILABLE;
50 + (instancetype)exceptionWithActualChecksum: (
OFString *)actualChecksum
51 expectedChecksum: (
OFString *)expectedChecksum;
53 - (instancetype)init OF_UNAVAILABLE;
62 - (instancetype)initWithActualChecksum: (
OFString *)actualChecksum
63 expectedChecksum: (
OFString *)expectedChecksum
64 OF_DESIGNATED_INITIALIZER;
An exception indicating that a checksum did not match.
Definition: OFChecksumMismatchException.h:27
The base class for all exceptions in ObjFW.
Definition: OFException.h:147
A class for handling strings.
Definition: OFString.h:132