newbie mysql jdbc

Jeff Sturm jsturm@one-point.com
Sun Oct 14 07:48:00 GMT 2001


On 2001年10月14日, 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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /