@@ -14,19 +14,20 @@ * file. */ #include "config.h" +#include + #include #import "OFTimer.h" #import "OFDate.h" #import "OFRunLoop.h" #import "OFCondition.h" #import "OFInvalidArgumentException.h" -#import "OFNotImplementedException.h" #import "autorelease.h" #import "macros.h" @implementation OFTimer @@ -202,14 +203,17 @@ } #endif - init { - Class c = [self class]; - [self release]; - @throw [OFNotImplementedException exceptionWithClass: c - selector: _cmd]; + @try { + [self doesNotRecognizeSelector: _cmd]; + abort(); + } @catch (id e) { + [self release]; + @throw e; + } } - OF_initWithFireDate: (OFDate*)fireDate_ interval: (double)interval_ target: (id)target_