@@ -19,10 +19,12 @@ #import "OFThreadStartFailedException.h" #import "OFString.h" #import "OFThread.h" @implementation OFThreadStartFailedException +@synthesize thread = _thread; + + (instancetype)exceptionWithThread: (OFThread*)thread { return [[[self alloc] initWithThread: thread] autorelease]; } @@ -50,11 +52,6 @@ - (OFString*)description { return [OFString stringWithFormat: @"Starting a thread of type %@ failed!", [_thread class]]; } - -- (OFThread*)thread -{ - OF_GETTER(_thread, true) -} @end