@@ -19,10 +19,12 @@ #import "OFThreadStillRunningException.h" #import "OFString.h" #import "OFThread.h" @implementation OFThreadStillRunningException +@synthesize thread = _thread; + + (instancetype)exceptionWithThread: (OFThread*)thread { return [[[self alloc] initWithThread: thread] autorelease]; } @@ -51,11 +53,6 @@ { return [OFString stringWithFormat: @"Deallocation of a thread of type %@ was tried, even though it " @"was still running!", [_thread class]]; } - -- (OFThread*)thread -{ - OF_GETTER(_thread, true) -} @end