FossilOrigin-Name: 9b7427552b063b5db36fdc636befa1e018afc3fb9622e8bfce6888ae5aa5d72e
19 lines
409 B
Objective-C
19 lines
409 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
|