SQLException::GetErrorMessage() return so much message!!!

From: zhousj <zhousj(at)wesec(dot)com>
To: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: SQLException::GetErrorMessage() return so much message!!!
Date: 2002-02-21 02:34:35
Message-ID: 200202211529.g1LFTmx02600@testv1.263idc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

When connect to postgres failed, it returns just error message in jdbc7.1-1.2.jar and before version, but now in pgjdbc2.jar it print stack trace . I reprot error in my program :
JOptionPane.showMessageDialog(frm , e.getMessage() , "Error", JOptionPane.ERROR_MESSAGE );
it works fine before, but now it shows so much error message , it is terrible!
I think it need not to print stack trace in SQLException::GetErrorMessage() in final release.

Browse pgsql-jdbc by date

  From Date Subject
Next Message # sriram # 2002-02-21 06:42:44 strange error
Previous Message Doug Fields 2002-02-21 02:28:18 [PATCH] Empty arrays cause SQLExceptions when using Array.getArray