• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 642
  • Last Modified:

ioe.printStackTrace

Hi,

I seen this in exception sections, what does ioe.printStackTrace do exactly..
normally i will just system.err.println("...");

any idea?
0
jedistar
Asked:
jedistar
  • 2
2 Solutions
 
objectsCommented:
as the link from hoomanv explains it prints the exception (using its toString() method) to stderr
and also prints the stack trace
0
 
hoomanvCommented:
also have a look on getStackTrace() method
http://www.javaworld.com/javaworld/javatips/jw-javatip124.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now