0 Replies Latest reply on Nov 8, 2006 7:59 AM by Marcel Marcel

    Hiding ClassNotFoundException for missing assign beans

    Marcel Marcel Newbie


      i'm using jbpm 3.1.3.

      Is it possible to throw the ClassNotFoundException in
      Delegation.java:142 up to the user code?

      try {
      clazz = classLoader.loadClass(className);
      } catch (ClassNotFoundException e) {
      log.error("couldn't load delegation class '"+className+"'", e);

      instead of catching it with a log.error and then running
      into a NPE.
      Like this i can't properly display the real reason of the problem.