wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Capturing printStackTrace() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Capturing printStackTrace()" Watch "Capturing printStackTrace()" New topic

Capturing printStackTrace()

Michael Hildner
Ranch Hand

Joined: Oct 13, 2000
Posts: 297
I'm trying to figure out how to capture the full exception message in a String. I plan on putting this in a text area so the user can copy/paste and email me the error. The printStackTrace() methods can take a printStream or printWriter obejct as an argument, but I'm not sure how to stick this info in a String.
Any help is appreciated.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Michael Hildner
Ranch Hand

Joined: Oct 13, 2000
Posts: 297
Thank you.
I agree. Here's the link: http://aspose.com/file-tools
subject: Capturing printStackTrace()
Similar Threads
storing stack trace into string
unable to open tag library problem
cannot access ms access database after loading servlet to tomcat
capture printStackTrace even though void
Data not insert.