Обсуждение: SQLException::GetErrorMessage() return so much message!!!

Поиск
Список
Период
Сортировка

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

От
zhousj
Дата:
When connect to postgres failed, it returns just error message in jdbc7.1-1.2.jar and before version, but now in
pgjdbc2.jarit 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.