pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-jdbc@postgresql.org
Cc: Christian Rengstl <Christian.Rengstl@klinik.uni-regensburg.de>
Subject: Re: Error codes in SQLException
Date: Tue, 30 Oct 2007 15:44:55 +0300
Message-ID: <200710301444.56561.achill@matrix.gatewaynet.com> (raw)
In-Reply-To: <47270D36.90AD.0080.0@klinik.uni-regensburg.de>
References: <47270D36.90AD.0080.0@klinik.uni-regensburg.de>

Στις Τρίτη 30 Οκτώβριος 2007 12:06, ο/η Christian Rengstl έγραψε:
> Hi list,
>
> I was just wondering if there is a overview somewhere with the integer
> values returned by SQLException when calling getErrorCode().

Browsing at the sources of 7.4.12 (dont shout please!! i know we must upgrade 
in the future), i dont see any reference to getErrorCode() in PSQLException.

The right way however is to use the standardized getSQLState() according to
http://www.postgresql.org/docs/7.4/interactive/errcodes-appendix.html


> Thanks!
>
>
>
> Christian Rengstl M.A.
> Klinik und Poliklinik für Innere Medizin II
> Kardiologie - Forschung
> Universitätsklinikum Regensburg
> B3 1.388
> Franz-Josef-Strauss-Allee 11
> 93053 Regensburg
> Tel.: +49-941-944-7230
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

-- 
Achilleas Mantzios



view thread (3+ messages)  latest in thread

Message-ID: <200710301444.56561.achill@matrix.gatewaynet.com>
Permalink:  ../200710301444.56561.achill@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/200710301444.56561.achill@matrix.gatewaynet.com

 · 

reply

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: achill@matrix.gatewaynet.com, Christian.Rengstl@klinik.uni-regensburg.de
  Subject: Re: Error codes in SQLException
  In-Reply-To: <200710301444.56561.achill@matrix.gatewaynet.com>
  References: <47270D36.90AD.0080.0@klinik.uni-regensburg.de> <200710301444.56561.achill@matrix.gatewaynet.com>

* 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