Hi,
I'm working against a postgresql database (version 8.0 ).
I was wondering how to handle exceptions properly when doing
database-related stuff, like queries, inserts etc.
Often when I get an exception (I just catch an SQL exception in the catch
clause) I get a message saying call getNextException(). Should I always add
this code in the catch clause? Or should I always add a catch for catching
postgresql-exceptions? Is there a general rule for this?