[jboss-user] [EJB3] - how to catch cmp-transaction errors

Reinhard Eder do-not-reply at jboss.com
Mon May 2 06:56:40 EDT 2011


Reinhard Eder [http://community.jboss.org/people/planetenkiller] created the discussion

"how to catch cmp-transaction errors"

To view the discussion, visit: http://community.jboss.org/message/602970#602970

--------------------------------------------------------------
I would like to provide to partner systems no exceptions, everything should be cought and returned an standardized info message.

So I also came around container managed-transactions. They cannot be cought by a standard interceptor like

@aroundInvoke
 


public void catchException(InvocationContext ctx)
{
     try
     {
           return ctx.proceed();
     }
    catch (Exception ex)
    {
         ... do exception handling
    }
}


So how to catch them ?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/602970#602970]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110502/3ced0513/attachment.html 


More information about the jboss-user mailing list