You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Bayarsaikhan VOLODYA <ba...@gmail.com> on 2005/07/18 12:52:15 UTC

Error page

Hi all,

I am trying to write an error page to catch all exceptions that are thrown 
by business objects and display corresponding error messages. but dont know 
how to catch exception in error.vm file. 

Thanks velocity folks for helps

---
Bayarsaikhan VOLODYA

Re: Error page

Posted by Nathan Bubna <nb...@gmail.com>.
have you trie (or are you using) the VelocityLayoutServlet that is
part of VelocityTools?

http://jakarta.apache.org/velocity/tools/view/layoutservlet.html

On 7/18/05, Bayarsaikhan VOLODYA <ba...@gmail.com> wrote:
> Hi all,
> 
> I am trying to write an error page to catch all exceptions that are thrown
> by business objects and display corresponding error messages. but dont know
> how to catch exception in error.vm file.
> 
> Thanks velocity folks for helps
> 
> ---
> Bayarsaikhan VOLODYA
> 
>

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