(keitai-l) Re: printStackTrace manipulation

From: Joe Bowbeer <joe.bowbeer_at_gmail.com>
Date: 01/07/05
Message-ID: <31f2a7bd0501062302233dc109@mail.gmail.com>
Ashwin Mathew <Ashwin.Mathew@sun.com> writes:
>
> ... However, the following thought occurs - how about having a
> try/catch block to catch all Throwables that your application might
> generate, and then serializing those and sending them over the wire,
> maybe using something like PrintStream's print(Object obj) method.
> 

Except..

There's no serialization in CLDC 1.0 or 1.1 either, and PrintStream's
printObject(throwable) doesn't reveal more than throwable.toString(). 
In particular, the stack trace is missing.
Received on Fri Jan 7 09:03:01 2005