@@ -202,18 +202,11 @@ return [super init]; } - initWithDictionary: (OFDictionary*)dictionary { - @try { - [self doesNotRecognizeSelector: _cmd]; - } @catch (id e) { - [self release]; - @throw e; - } - - abort(); + OF_INVALID_INIT_METHOD } - initWithObject: (id)object forKey: (id)key { @@ -249,18 +242,11 @@ - initWithObjects: (id const*)objects forKeys: (id const*)keys count: (size_t)count { - @try { - [self doesNotRecognizeSelector: _cmd]; - } @catch (id e) { - [self release]; - @throw e; - } - - abort(); + OF_INVALID_INIT_METHOD } - initWithKeysAndObjects: (id)firstKey, ... { id ret; @@ -275,30 +261,16 @@ } - initWithKey: (id)firstKey arguments: (va_list)arguments { - @try { - [self doesNotRecognizeSelector: _cmd]; - } @catch (id e) { - [self release]; - @throw e; - } - - abort(); + OF_INVALID_INIT_METHOD } - initWithSerialization: (OFXMLElement*)element { - @try { - [self doesNotRecognizeSelector: _cmd]; - } @catch (id e) { - [self release]; - @throw e; - } - - abort(); + OF_INVALID_INIT_METHOD } - (id)objectForKey: (id)key { [self doesNotRecognizeSelector: _cmd];