This content has been marked as final.
Show 3 replies
-
1. Re: How to handle Weld exception at runtime?
asiandub Sep 3, 2010 10:24 AM (in response to wangliyu)Jason Porter is currently developing a Seam 3 module around that issue:
http://github.com/LightGuard/seam-exception-handling
Maybe that's a source for some ideas
-
2. Re: How to handle Weld exception at runtime?
wangliyu Sep 3, 2010 10:43 AM (in response to wangliyu)Thanks man, that's helpful, but it only address how to handle the exception but not how to catch the exception (actually I've done the same thing, just a simple version of that), so I still need to use servlet through the web.xml to catch the exceptions.
Actually I was thinking something more like JSF2 Exception Queue, so when there is a exception, Weld will enqueue it or event it, and my application can catch exception or observe the event and do some thing. Not sure if this is possible?
-
3. Re: How to handle Weld exception at runtime?
pmuir Sep 6, 2010 6:10 AM (in response to wangliyu)This is what the extension that Jason is doing will do :-)