2 Replies Latest reply on Apr 24, 2007 6:43 AM by jpviragine

    Unable to catch exception in remove method

    jpviragine

      Hi, I'm unable to catch exceptions in remove method (SLSB):

      public void remove(T entity) {
       try {
       entityManager.remove(entity);
       } catch (Exception e) {
       log.error("Error!");
       }
       }



      The class/method that invoke the above code never appears in stack trace.

      Any idea?

      Thanks,

      Joao Paulo