0 Replies Latest reply on May 2, 2011 6:56 AM by Reinhard Eder

    how to catch cmp-transaction errors

    Reinhard Eder Newbie

      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 ?