You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "Nennker, Axel" <Ax...@t-systems.com> on 2003/03/27 15:54:33 UTC

VelocityPortlet catches Exception; returns e.tostring(). Why?

>Hi,
>
>I am using Velocity with Jetspeed and sometimes something goes wrong. Naturally.
>E.g. Axis can't connect to the database.
>
>VelocityPortlet converts the exception to a string and returns that.
>The user of my portal now sees the exception. I don't want that.
>
>Why doesn't VelocityPortlet just log the exception and passes it up?
>
>This way the portal has the chance to notice that something is wrong.
>
>have fun,
>
>Axel
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org