ObjPgSQL  Diff

Differences From Artifact [9e57dfeee0]:

To Artifact [de24e68bdc]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#import "PGConnectionFailedException.h"

@implementation PGConnectionFailedException
- (OFString*)description
{
	OFAutoreleasePool *pool;

	if (description != nil)
		return description;

	pool = [[OFAutoreleasePool alloc] init];
	description = [[OFString alloc] initWithFormat:
	    @"Establishing a PostgreSQL connection in class %@ failed:\n%s\n"
	    "Parameters: %@", inClass,
	    PQerrorMessage([connection PG_connection]),
	    [connection parameters]];
	[pool release];

	return description;
}
@end





<
|
<
<
<
<
<

|
|
|
<
<
<


1
2
3
4
5

6





7
8
9
10



11
12
#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