From: Thomas Finneid <tfinneid@fcon.no>
To: pgsql-jdbc@postgresql.org
Subject: jdbc excpetions in pg
Date: Wed, 3 Jun 2009 17:28:33 +0200 (CEST)
Message-ID: <2855.89.8.146.200.1244042913.squirrel@fcon.no> (raw)
Hi
I was looking at the documentation for the pg jdbc driver and it seems to
me that the driver throws SQLExceptions only, or mostly. I.e. the driver
does not create any subclasses of the SQLException class. Is this correct?
If so, what is the suggested method for classifying the errors to more
detail than SQLException? I was hoping to make my code more robust by
dealing with the errors more appropriately.
regards
thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: tfinneid@fcon.no
Subject: Re: jdbc excpetions in pg
In-Reply-To: <2855.89.8.146.200.1244042913.squirrel@fcon.no>
References: <2855.89.8.146.200.1244042913.squirrel@fcon.no>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox