@@ -18,10 +18,12 @@ #import "OFLockFailedException.h" #import "OFString.h" @implementation OFLockFailedException +@synthesize lock = _lock; + + (instancetype)exceptionWithLock: (id )lock { return [[[self alloc] initWithLock: lock] autorelease]; } @@ -47,11 +49,6 @@ return [OFString stringWithFormat: @"A lock of type %@ could not be locked!", [_lock class]]; else return @"A lock could not be locked!"; } - -- (id )lock -{ - OF_GETTER(_lock, true) -} @end