ObjPgSQL/exceptions/PGConnectionFailedException.m
Jonathan Schleifer b3eaf2f272 Prefix all ivars with an underscore.
FossilOrigin-Name: 8c8a4313228bba7114d582a6802a2df53a1fb357f5c0805ae58531dd4c799d8c
2013-02-13 23:40:58 +00:00

12 lines
347 B
Objective-C

#import "PGConnectionFailedException.h"
@implementation PGConnectionFailedException
- (OFString*)description
{
return [OFString stringWithFormat:
@"Establishing a PostgreSQL connection in class %@ failed:\n%s\n"
"Parameters: %@", [self inClass],
PQerrorMessage([_connection PG_connection]),
[_connection parameters]];
}
@end