开发者

Seam swallowing JDBC exceptions

开发者 https://www.devze.com 2023-04-06 04:50 出处:网络
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?

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

精彩评论

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