cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject RE: XMLForm and sitemap problem (fwd)
Date Thu, 08 May 2003 10:20:22 GMT


I can reproduce the blank page in case of a java.lang.Error. So,
there is the best place to handle them? In the pipeline implementation?
Or should they be handled by the container?

Stephan.

---------- Forwarded message ----------
Date: 08 May 2003 11:34:01 +0200
From: Bruno Dumon <bruno@outerthought.org>
Reply-To: cocoon-users@xml.apache.org
To: cocoon-users@xml.apache.org
Subject: RE: XMLForm and sitemap problem

On Thu, 2003-05-08 at 11:25, Stephan Michels wrote:
>
> On 8 May 2003, Bruno Dumon wrote:
>
> > On Thu, 2003-05-08 at 11:17, Sylvain.Thevoz@swisscom.com wrote:
> > > Bruno,
> > >
> > > Thanks for your help.
> > > It was a missing lib to access to the database.
> > >
> > > I think it's sade that Cocoon doesn't return the exception (noDefClassFoundError)
instead of this blank page.
> > >
> >
> > But this error should have been logged in the error.log, no?
> > Or maybe you are silently catching this exception in your action?
> >
> > I don't understand the blank page either, maybe there's a problem with
> > the handle-errors or so?
>
> I think there were only Exceptions catched not Errors.

Good thinking! Now I understand why he got a blank page. In general,
maybe we should catch every "Throwable".

>  We should create an
> error page to test this behaviour.
>
> Stephan.

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


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



Mime
View raw message