FossilOrigin-Name: de46b0e10c5d9f516acbbf2ea01d84d0d5ac126412949d459265279262a1b87e
19 lines
406 B
Objective-C
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
|