FossilOrigin-Name: 8c8a4313228bba7114d582a6802a2df53a1fb357f5c0805ae58531dd4c799d8c
19 lines
407 B
Objective-C
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
|