You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alberto Brosich <ab...@ogs.trieste.it> on 2007/10/29 22:12:44 UTC

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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Exception handling doesn't work

Posted by trampus <tr...@units.it>.
Well, I apoligize. That mail wasn't intended for the list, of course.

Sorry for the mistake I've done.

bye

romano

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: trampus@units.it



-----Original Message-----
From: trampus [mailto:trampus@units.it] 
Sent: martedì 30 ottobre 2007 8.43
To: users@cocoon.apache.org
Subject: RE: Exception handling doesn't work


...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: trampus@units.it



-----Original Message-----
From: Alberto Brosich [mailto:abrosich@ogs.trieste.it] 
Sent: lunedì 29 ottobre 2007 22.13
To: users@cocoon.apache.org
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


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


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


RE: Exception handling doesn't work

Posted by trampus <tr...@units.it>.
...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: trampus@units.it



-----Original Message-----
From: Alberto Brosich [mailto:abrosich@ogs.trieste.it] 
Sent: lunedì 29 ottobre 2007 22.13
To: users@cocoon.apache.org
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


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