Artifact 6469b1300a9a9af543ded1643a8a5ea2c46c57c2bb83e36e07e727a6df339545:
- File exceptions/PGException.h — part of check-in [9b7427552b] at 2012-10-03 16:08:17 on branch trunk — Add ObjPgSQL.h. (user: js, size: 409) [annotate] [blame] [check-ins using]
#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