> From: Chris Baty [mailto:[EMAIL 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: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to