librpg - A other portgres-c++ - Interface
Class PgException
Description
It is simply a exception, which is thrown when a error occurs.
Interface
- PgException(const char *db,ExecStatusType status,const char *format,...);
- The Constructor, which is called mainly internaly in the library.
The format is interpreted by sprintf.
- const char *what()
- the errormessage is returned. (The errormessage-Memory is a buffer in the class).
- ConnStatusType status()
- The statustype of the connection is returned
Computerscience and Networkassocation Ravensburg e.V Rudolf Weber