|
Hi, ok now I add my own ViewRoot: <component> <component-type>javax.faces.ViewRoot</component-type> <component-class>org.openuss.web.application.DefaultViewRoot</component-class> </component> My DefaultViewRoot class. That do not set responseComplete if an exception occur. So my ExceptionHandler can decide if it is an application exception occur just add an error message and if an unexpected exception occur add it to the shale exception-list and redirect to the error page (with responseComplete). I'm not sure if this is the same as it is done by shale beside the differentiation of application exceptions. So any comment are welcome. Regards Ingo Veit Guna schrieb: Hi. I encountered the same problem. I started development with shale-1.0.4-SNAPHSOT a while ago and wrote my own ExceptionHandler, too. That worked so far. 3 weeks ago I upgraded to 1.0.4 and for example acegi exceptions didn't get propagated anymore to its ExceptionFilter. At this time I thought, it worked before because of a bug in the SNAPSHOT release and that got fixed in the final 1.0.4. Something changed in the way of handling exceptions I guess. I can't remember exactly what I changed to get it running in 1.0.4 again, but it had something todo with trowing exceptions.In the past, I think the Shale Controller threw exceptions that were queued up in the session under FacesConstants.EXCEPTIONS_LIST. Now this isn't done anymore. I had to throw the exception explicitly in my shale exception handler to get it propagated. I would be also interested in what changed exactly and what's the right way to handle exceptions in shale... regards, Veit Ingo Düppe schrieb: |
- My exception handling is broken Ingo Düppe
- Re: My exception handling is broken Veit Guna
- Re: My exception handling is broken Ingo Düppe
