This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: newbie mysql jdbc
- To: Attila Soki <atiware at gmx dot net>
- Subject: Re: newbie mysql jdbc
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Sun, 14 Oct 2001 11:06:10 -0400 (EDT)
- cc: java at gcc dot gnu dot org
On Sun, 14 Oct 2001, Attila Soki wrote:
> catch (Exception e) {
> System.out.println("Error 1:"+e.getMessage());
> }
Use e.printStackTrace() here, you will get better diagnostic info.
> after run i get the following output: Error 1:null
That only means the exception doesn't have a message associated with it,
which doesn't say much.
Jeff