Re: Exception handling in Spring-MVC/FreeMarker web applications

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Wednesday, October 21, 2009, 9:58:17 PM, [email protected] wrote:

> That's great. I think I need either IGNORE_HANDLER or perhaps develop my
> own custom handler. Either way, this is the key. Thanks!

Nah, certainly you want the "rethrow" handler... Unless you want buggy
templates to return a some half-done response without showing any
error message to the user.

> "Newman, John W" <[email protected]> wrote on 10/21/2009 01:13:57
> PM:
>
>> Hi -
>>
>> Take a look at
>>
>>       configuration.
>> setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);
>>
>> RETHROW_HANDLER may not be what you want ... I forget what each
>> does, there are a few different options.  But that's the setting you're
> after
>>
>> -----Original Message-----
> [snip]
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user
>

-- 
Best regards,
 Daniel Dekany


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.