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