ObjPgSQL/exceptions/PGException.h
Jonathan Schleifer b3eaf2f272 Prefix all ivars with an underscore.
FossilOrigin-Name: 8c8a4313228bba7114d582a6802a2df53a1fb357f5c0805ae58531dd4c799d8c
2013-02-13 23:40:58 +00:00

19 lines
407 B
Objective-C

#import <ObjFW/ObjFW.h>
#import "PGConnection.h"
@interface PGException: OFException
{
PGConnection *_connection;
}
#ifdef OF_HAVE_PROPERTIES
@property (readonly, retain, nonatomic) PGConnection *connection;
#endif
+ exceptionWithClass: (Class)class_
connection: (PGConnection*)connection;
- initWithClass: (Class)class_
connection: (PGConnection*)connection;
- (PGConnection*)connection;
@end