X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BB589DA0B7 for ; Tue, 4 Oct 2005 17:25:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 71990-04 for ; Tue, 4 Oct 2005 20:25:16 +0000 (GMT) Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.91]) by svr1.postgresql.org (Postfix) with ESMTP id 0EF7CDA0A9 for ; Tue, 4 Oct 2005 17:25:13 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Tue, 04 Oct 2005 15:25:15 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.4 Date: Tue, 04 Oct 2005 15:25:05 -0500 From: "Kevin Grittner" To: , Subject: Re: Getting status on login failure Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 required=5 tests=[AWL=0.004] X-Spam-Level: X-Archive-Number: 200510/14 X-Sequence-Number: 13945 Have you tried getSQLState() ? >>> Andres Olarte 10/04/05 3:05 PM >>> Is it possible to get an status code on login failure? The exception does return some useful info, but if it's possible to get an error code, It'll be easier to show some userfriendly message to the user (in spanish, which is another issue). The code of the exception always reports 0. Best Regards, Andres ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings