@@ -14,33 +14,25 @@ * file. */ #include "config.h" -#include - #import "OFHashAlreadyCalculatedException.h" #import "OFString.h" #import "common.h" +#import "macros.h" @implementation OFHashAlreadyCalculatedException + (instancetype)exceptionWithHash: (id )hash { return [[[self alloc] initWithHash: hash] autorelease]; } - init { - @try { - [self doesNotRecognizeSelector: _cmd]; - } @catch (id e) { - [self release]; - @throw e; - } - - abort(); + OF_INVALID_INIT_METHOD } - initWithHash: (id )hashObject { self = [super init];