@@ -18,10 +18,12 @@ #import "OFNotOpenException.h" #import "OFString.h" @implementation OFNotOpenException +@synthesize object = _object; + + (instancetype)exceptionWithObject: (id)object { return [[[self alloc] initWithObject: object] autorelease]; } @@ -50,11 +52,6 @@ { return [OFString stringWithFormat: @"The object of type %@ is not open, connected or bound!", [_object class]]; } - -- (id)object -{ - OF_GETTER(_object, true) -} @end