cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <>
Subject Re: JXTemplateGenerator and exceptions
Date Tue, 27 Jan 2004 15:27:17 GMT
Can you provide an example stack trace? AFAIK JXTemplateGenerator wraps 
an  exception it catches in a SAXParseException. The original exception 
should still be available through SAXException.getException().

Upayavira wrote:

> We've built a quite large set of Java objects that are handled by flow 
> and then passed to JXTemplate for presentation. This all works fine, 
> except when an exception occurs within our java objects. For some 
> reason, the JXTemplate generator doesn't show or pass on the exception 
> that occurred, showing instead its own exception.
> If I have understood things right here, is it possible to change this 
> behaviour to propogate Java exceptions out through the JXTemplate 
> generator, so that debugging of the java objects can be made easier?
> Regards, Upayavira

View raw message