[jboss-user] [JBoss jBPM] - Hiding ClassNotFoundException for missing assign beans

marcelruff do-not-reply at jboss.com
Wed Nov 8 07:59:55 EST 2006


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.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984119#3984119

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984119

More information about the jboss-user mailing list