From: | "Thomas Finneid" <tfinneid(at)fcon(dot)no> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | jdbc excpetions in pg |
Date: | 2009-06-03 15:28:33 |
Message-ID: | 2855.89.8.146.200.1244042913.squirrel@fcon.no |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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