ObjPgSQL/exceptions/PGCommandFailedException.h
Jonathan Schleifer 25c48048a1 Improve exceptions.
FossilOrigin-Name: 12b5ef483a1f9eae92df83cf8a6aded299ef10dd2972059a36c79d299e676a0d
2013-07-23 14:11:41 +00:00

17 lines
401 B
Objective-C

#import "PGException.h"
@interface PGCommandFailedException: PGException
{
OFString *_command;
}
#ifdef OF_HAVE_PROPERTIES
@property (readonly, copy, nonatomic) OFString *command;
#endif
+ (instancetype)exceptionWithConnection: (PGConnection*)connection
command: (OFString*)command;
- initWithConnection: (PGConnection*)connection
command: (OFString*)command;
- (OFString*)command;
@end