Re: Error Code - Mailing list pgsql-jdbc

From Daniel Serodio
Subject Re: Error Code
Date
Msg-id 1042748072.9721.64.camel@kelly.ckf
Whole thread Raw
In response to Error Code  (Isaías Cristiano Barroso <isaias@unimedjm.com.br>)
Responses Re: Error Code  ("Tom Innes" <tinnes@inforamp.net>)
List pgsql-jdbc
Not the driver's fault, the backend doesn't implement error codes. You
should customize the error messages based on the exception's
getMessage().

[]'s
Daniel Serodio

On Thu, 2003-01-16 at 17:31, Isaías Cristiano Barroso wrote:
> Hi All,
>
> Possible is get a error code when a SQLException occurr?
> I utilize getErrorCode(), but this don't work, always return zero.
> I need this to customize the error message for the users of my system.
>
> Driver JDBC : pg73jdbc3.jar
>
> Thanks
>
> Isaias
--
Daniel Serodio <daniel@checkforte.com.br>
CheckForte


pgsql-jdbc by date:

Previous
From: Isaías Cristiano Barroso
Date:
Subject: Error Code
Next
From: "Campano, Troy"
Date:
Subject: Re: jdbc/redhat8.0/postgresql upgrade