[jboss-dev-forums] [JBoss AS 7 Development] - Re: Hide JBoss internal exceptions from the client
Frank Ulbricht
do-not-reply at jboss.com
Wed Jul 25 09:15:20 EDT 2012
Frank Ulbricht [https://community.jboss.org/people/f.ulbricht] created the discussion
"Re: Hide JBoss internal exceptions from the client"
To view the discussion, visit: https://community.jboss.org/message/750197#750197
--------------------------------------------------------------
I found another way. When I create a facade with another session bean with transaction attribute NEVER, I can invoke the original bean locally. The transaction will be over before the method of my facade bean ends. No an interceptor around the facade method call can catch the exception and convert it to something useful. It is a solution but finally it means that I have to duplicate all interface methods in my facade beans...
Regards,
Frank.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750197#750197]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120725/85eb5acd/attachment.html
More information about the jboss-dev-forums
mailing list