Author: alex.guizar(a)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);
Show replies by date