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

    Unable to catch exception in remove method

    Joao Viragine Newbie

      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