I'm using libpqxx but I'm stuck with the following.
Some function of lets say the pqxx:connection_base class throw exception, as per the connection_base.hxx
file :
void disconnect() throw ();
My question is : how can I guess what kind of exception is thrown ? Shall I expect a pqxx::exception
, a pqxx::sql_error
? The include files seems useless to me, and the documentation, a Doxygen generated one obviously doesn't help.