ObjPgSQL/exceptions/PGException.h
Jonathan Schleifer f9be9ea547 Install all headers into one place.
FossilOrigin-Name: 86adc6aab9e6ef2189e3f6f015aa53341dd840aa1589c8218531b312754dd72f
2012-10-05 21:26:22 +00:00

19 lines
406 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