You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Bryon Phinney <be...@yahoo.com> on 2004/03/24 22:57:51 UTC
Nested uncaught exceptions from flow
Version - Cocoon 2.1.4
I have a flow that connects up to a pure Java facade layer. This layer throws various custom exceptions. I have implemented the exception handling in the sitemap and I would prefer to avoid try/catches in the flow scripts as much as possible and let the sitemap error handling do the work.
It appears that the orignal exception is nested inside an uncaught JavaScript exception and then inside of a CascadingRuntimeException.
Because of this, using the NotifyingGenerator does not place the exception message at my finger tips.
I would like to access the Java exception object in a jx template. How do I get a reference to this object since I am not calling sendPage or sendPageAndWait?
Bryon
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam