Exception stack

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Exception stack

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:12 pm

by isNoDarkSide >> Mon, 1 Oct 2007 22:17:41 GMT

I have a heritage system where methods that arm exception handlers have been armed repeatedly (some historical attempt at code reuse), resulting in handlers passing back to the wrong handlers ... assumptions are made regarding transaction state, etc, resulting in further exceptions.

An assertion condition in the transaction layer could ensure that handlers are not over-armed in this way.

But how do I access the exception handler stack at runtime?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Exception stack

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:12 pm

by dcooper@jade.co.nz >> Mon, 1 Oct 2007 22:28:28 GMT

There are no methods in JADE 6.1 to access the exception stack. However, JADE 6.2 (will be available on the web site by the end of the month) has a new Process::getExceptionHandlerStack method that will give you exactly what you're after.

Dean.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 26 guests

cron