16#import "OFException.h"
18OF_ASSUME_NONNULL_BEGIN
28 OFString *_actualChecksum, *_expectedChecksum;
35@property (readonly, nonatomic)
OFString *actualChecksum;
40@property (readonly, nonatomic)
OFString *expectedChecksum;
42+ (instancetype)exception OF_UNAVAILABLE;
51+ (instancetype)exceptionWithActualChecksum: (
OFString *)actualChecksum
52 expectedChecksum: (
OFString *)expectedChecksum;
54- (instancetype)init OF_UNAVAILABLE;
63- (instancetype)initWithActualChecksum: (
OFString *)actualChecksum
64 expectedChecksum: (
OFString *)expectedChecksum
65 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:151
A class for handling strings.
Definition OFString.h:135