Exception stack
Posted: 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?
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?