myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Bashan <guy.bas...@gmail.com>
Subject Re: Re: [MyFaces][Core]
Date Wed, 15 Jul 2009 11:46:10 GMT
By looking at the FacesServlet filter it seems that this line is doing the
problem (line 302):

_ErrorPageWriter.throwException(e);

It cause the exception to be shown in the console for some reason.

What do you think?

On Wed, Jul 15, 2009 at 2:16 PM, Guy Bashan <guy.bashan@gmail.com> wrote:

> Hi,
>
> This is the code in the filter (part of it)
>         try
>         {
>           filterChain.doFilter(request, response);
>         }
>         catch (Exception e)
>         {
>           System.out.println("Hello");
>         }
>
> The exception is printed to the console when calling:
> filterChain.doFilter(request, response);
>
> in addition the exception is being caught and the "Hello" is printed.
>
> Guy.
>
>
>
> On Wed, Jul 15, 2009 at 11:44 AM, <Arno.Unkrig@vkb.de> wrote:
>
>> This
>>
>>
>> http://josephmarques.wordpress.com/2009/02/05/jsf-odyssey-viewexpiredexception/
>>
>> article deals with the problem.
>>
>>
>> CU
>>
>> Arno
>>
>> Jan-Kees van Andel <jankeesvanandel@gmail.com> schrieb am 15.07.2009
>> 10:32:17:
>>
>> > Are you sure the exception is caught and not rethrown in the filter?
>> >
>> > Do you have other filters installed?
>> >
>> > /Jan-Kees
>> >
>> >
>> > 2009/7/15 Guy Bashan <guy.bashan@gmail.com>:
>> > > Hi,
>> > >
>> > > Does anyone has an insight about this issue?
>> > >
>> > > Thanks,
>> > > Guy.
>> > >
>> > > On Tue, Jul 14, 2009 at 5:38 PM, Guy Bashan <guy.bashan@gmail.com>
>> wrote:
>> > >>
>> > >> Hi,
>> > >> It seems like it is impossible to catch the "ViewExpiredException".
>> > >> I have a filter with "try" and "catch". When there is
>> > >> "ViewExpiredException", the exception is being printed even though
I
>> catch
>> > >> it.
>> > >> Is there a way of catching this exception?
>> > >>
>> > >> Thanks,
>> > >> Guy.
>> > >
>> > >
>>
>>
>

Mime
View raw message