Skip to main content


2 replies [Last post]
Joined: 2008-01-13


In my application, I have setup a try/catch statement at the root of the code, to catch and display any exception that would occur in my code, to help me debug.
I use for that the StackTraceElement object that I get by doing a getStackTrace on the exception.

But I have found that StackTraceElement is not part of the personal basis profile libraries. But if I compile my project (using default JDK libraries as well as personal basis profuile, it works fine on WinDVD!

Have you got any info on this? Is it or not part of the libraries? Maybe PBP 1.1?

If not, have you got a method to display the stack when an exception occurs?

Thanks, Francois

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-03-18

Hi Francoislionet,

The StacktrackTraceElement class is not part of PBP 1.0. You can download the API here:

Hope this helps.

Denny B.
[i]NetBlender DoStudio MX Team - NDS -[/i]

Joined: 2006-11-08

Hi Francoislionet,

You can't do chained exception in PBP 1.0, true, but you can always see the stack trace by calling Exception.printStackTrace() method directly.

I believe that a BD player can be either PBP 1.0 or 1.1 based. It's just that the content should be written against 1.0 to ensure that it works on all players.