@@ -1,8 +1,10 @@ #import "PGCommandFailedException.h" @implementation PGCommandFailedException +@synthesize command = _command; + + (instancetype)exceptionWithConnection: (PGConnection*)connection command: (OFString*)command { return [[[self alloc] initWithConnection: connection command: command] autorelease]; @@ -33,11 +35,6 @@ - (OFString*)description { return [OFString stringWithFormat: @"A PostgreSQL command failed: %@\n" @"Command: %@", _error, _command]; } - -- (OFString*)command -{ - OF_GETTER(_command, NO) -} @end