开发者

Seam swallowing JDBC exceptions

I'm working with Seam 2.1 but 开发者_开发知识库when I get a JDBC Exception throw proxy call, the framework swallows the exception without logging it. There is any way to show the exception?

Thanks


Have you seen this?

JSF is surprisingly limited when it comes to exception handling. As a partial workaround for this problem, Seam lets you define how a particular class of exception is to be treated by annotating the exception class, or declaring the exception class in an XML file. This facility is meant to be combined with the EJB 3.0-standard @ApplicationException annotation which specifies whether the exception should cause a transaction rollback.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜