Article View: borland.public.jbuilder.java.language
Article #17020Re: Simple way to save exception stack trace to disk?
From: Tor Iver Wilhelmsen
Date: Mon, 28 Dec 1998 00:00
Date: Mon, 28 Dec 1998 00:00
9 lines
862 bytes
862 bytes
"Michael Appelmans" <mappel@123ibm.net> writes: > Does anyone have a simple (elegant?) way to save an > exception.printStackTrace to a disk file? Since runtime Javaw does not > have a console I wan't to make sure I don't miss bugs my customers > find. Open a PrintStream over a FileOutputStream to the file, and call exception(printStackTrace(printStream) instead.
Technical Details
Message-ID:
<u1zlk38i3.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<75oh2g$ahi14@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,631a9e2e4da13e90 X-Google-Attributes: gidf74b3,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: Simple way to save exception stack trace to disk? Date: 1998/12/28 Message-ID: <u1zlk38i3.fsf@sds.no> X-Deja-AN: 426394396 Sender: towi@SDSA1761 References: <75oh2g$ahi14@forums.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language