cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: Passing a pipeline exception\error to an error handler function?
Date Tue, 03 Aug 2004 14:25:39 GMT
On Tue, 2004-08-03 at 16:15, Thomas Kjeldahl Nilsson wrote:
> > 
> > The exception (throwable) object is available in the objectModel, and
> > can be retrieved from it using ObjectModelHelper.getThrowable(). I don't
> > think there's a proper way to access this from flowscript, though there
> > are a variety of workarounds.
> > 
> 
> Hmm, isn't the whole object model accessible from the flowscripts?

This would suprise me.

> If not, do you have any particular suggestions\hints for workarounds?

I'm not sure what the easiest would be. One possible way is to make an
action that puts the throwable object in a request attribute.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message