[Reality] regarding stack traces...

Phil Christensen evil_ivan@yahoo.com
Sun, 22 Aug 1999 15:35:16 -0700 (PDT)


Glyph, awhile back you mentioned you wanted to send stack traces
somewhere else. I don't know exactly where in the code this was, but
here's how you'd do it:

catch(Exception e) //or whatever
{
	StringWriter sw = new StringWriter();
	e.printStackTrace(sw);
	Object[] hears = {sw.toString()};
	d.subject().hears(hears);	//or whatever
}

-phil
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com