Issue with psql driver 2007-09-05 - By Peter Crowther
Back > From: Chris Baty [mailto:batymohn@(protected)] > System.out.println("Error occurred: " + ex);
Chris, you might want to learn how to use any of the Java logging frameworks - as I eventually realised, they make your life a lot easier once you get your head round them. In the meantime, at least also printing the exception's stack trace would give more information. Printing the exception only prints its class and message, which is rarely enough to get anything useful.
- Peter
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|