@@ -14,34 +14,26 @@ * file. */ #include "config.h" -#include - #import "OFSetOptionFailedException.h" #import "OFString.h" #import "OFStream.h" #import "common.h" +#import "macros.h" @implementation OFSetOptionFailedException + (instancetype)exceptionWithStream: (OFStream*)stream { return [[[self alloc] initWithStream: stream] autorelease]; } - init { - @try { - [self doesNotRecognizeSelector: _cmd]; - } @catch (id e) { - [self release]; - @throw e; - } - - abort(); + OF_INVALID_INIT_METHOD } - initWithStream: (OFStream*)stream { self = [super init];