[jbpm-commits] JBoss JBPM SVN: r3879 - jbpm3/trunk/modules/core/src/main/java/org/jbpm/configuration.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Feb 14 05:15:55 EST 2009


Author: alex.guizar at jboss.com
Date: 2009-02-14 05:15:54 -0500 (Sat, 14 Feb 2009)
New Revision: 3879

Modified:
   jbpm3/trunk/modules/core/src/main/java/org/jbpm/configuration/JbpmTypeObjectInfo.java
Log:
JBPM-1914: fix unintended optional dependency regression

Modified: jbpm3/trunk/modules/core/src/main/java/org/jbpm/configuration/JbpmTypeObjectInfo.java
===================================================================
--- jbpm3/trunk/modules/core/src/main/java/org/jbpm/configuration/JbpmTypeObjectInfo.java	2009-02-14 10:09:44 UTC (rev 3878)
+++ jbpm3/trunk/modules/core/src/main/java/org/jbpm/configuration/JbpmTypeObjectInfo.java	2009-02-14 10:15:54 UTC (rev 3879)
@@ -23,7 +23,6 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.jbpm.JbpmException;
 import org.jbpm.context.exe.Converter;
 import org.jbpm.context.exe.JbpmType;
 import org.jbpm.context.exe.JbpmTypeMatcher;
@@ -72,7 +71,10 @@
       variableInstanceClass = ClassLoaderUtil.classForName(variableInstanceClassName).asSubclass(
           VariableInstance.class);
     }
-    catch (JbpmException e) {
+    catch (ConfigurationException e) {
+      throw e;
+    }
+    catch (RuntimeException e) {
       // Client probably does not need support for this type and omitted the dependency
       // So let us log and ignore
       log.debug("could not instantiate jbpm type '" + XmlUtil.toString(jbpmTypeElement) + "': " + e);




More information about the jbpm-commits mailing list