In regular Java, you can get the text of a stack trace by passing a PrintWriter to printStackTrace. I have a feeling I know the answer to this (i.e. \"No\") but,
Is ther
I don't thing there is a way to do that in CLDC 1.0. However, on some devices/OSes the underlying Exception class could be providing a way for accessing the stack trace (think newer CLDC versions). Just inspect the exception instance at runtime using reflection to see what members it exposes on your target platforms. You could then write some code that will be able to safely extract the stack trace on the platforms that offer such information.