ObjPgSQL  Artifact [c9366d7488]

Artifact c9366d7488e7461a3352fc964a499283d48ce8c152b93b335188163e8c33d3ec:

  • File exceptions/PGException.h — part of check-in [8c8a431322] at 2013-02-13 23:40:59 on branch trunk — Prefix all ivars with an underscore. (user: js size: 407)

#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