• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

printStackTrace (); how do I see what it print?

 
Peter Hammar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I am trying an connection to an database. It fails and I want to see why...



But how can I see what printStackTrace includes?

Regards
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is this code being run? An application that is started from the command line would print its output to that command line window.
 
Peter Hammar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its a java application that tries to connect to an database when started. I run it from JDeveloper.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not familiar with JDeveloper, but I'm sure it has a console window somewhere. If not, run the app from the OS's command line/console window.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic