@@ -14,32 +14,25 @@ * file. */ #include "config.h" -#include - #import "OFConditionWaitFailedException.h" #import "OFString.h" #import "OFCondition.h" + +#import "macros.h" @implementation OFConditionWaitFailedException + (instancetype)exceptionWithCondition: (OFCondition*)condition { return [[[self alloc] initWithCondition: condition] autorelease]; } - init { - @try { - [self doesNotRecognizeSelector: _cmd]; - } @catch (id e) { - [self release]; - @throw e; - } - - abort(); + OF_INVALID_INIT_METHOD } - initWithCondition: (OFCondition*)condition { self = [super init];