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