...in realtà noi (nel nostro progetto) intercettiamo a livello di codice le
eccezioni e ne throwiamo altre scritte da noi. Non so se possa servire...

r.

Romano Trampus
Servizi Informatici per le Biblioteche (SIB) - Servizio bibliotecario di
Ateneo
Università degli Studi di Trieste - Polo SBN TSA
Piazzale Europa, 1 - 34100 - Trieste
Tel. +39 040 5582586 - Fax: +39 040 5583176
mail: [EMAIL PROTECTED]



-----Original Message-----
From: Alberto Brosich [mailto:[EMAIL PROTECTED] 
Sent: lunedì 29 ottobre 2007 22.13
To: [email protected]
Subject: Exception handling doesn't work



Strange thing.
I'm trying to enable exception handling in a sitemap.
I wrote the selector section and the handle-errors section just after
the last pipeline.
No exception is handled.
Another sitemap with the same selector and handle-errors sections works
fine.

So the question is: what can prevent error handling to work?

In the sitemap I use the cform and authfw. Some matches are protected.
I'm not testing authentication exceptions. These are all intercepted.
I tried to fire many exceptions like
org.apache.cocoon.ResourceNotFoundException, java.sql.SQLException or
org.apache.cocoon.components.flow.InvalidContinuationException.

Thanks in advance

Alberto

P.S.
Cocoon 2.1.11-dev
Debian lenny
Java 1.6.0

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to