Saturday, September 25, 2010

Difference between toString () & printStackTrace ()

  • toString () gives name of the exception class when exception is raised and printStackTrace () gives the entry hierarchy of method execution that were there when exception is raised in the application.

No comments:

Post a Comment