[jopr-commits] JOPR SVN: r1204 - trunk/modules/common/jboss-as/src/main/java/com/jboss/jbossnetwork/product/jbpm/handlers.
jopr-commits at lists.jboss.org
jopr-commits at lists.jboss.org
Tue Sep 15 18:49:11 EDT 2009
Author: ips
Date: 2009-09-15 18:49:10 -0400 (Tue, 15 Sep 2009)
New Revision: 1204
Modified:
trunk/modules/common/jboss-as/src/main/java/com/jboss/jbossnetwork/product/jbpm/handlers/BaseHandler.java
Log:
remove illegal usage of client-api StringUtil class (see https://jira.jboss.org/jira/browse/JOPR-381)
Modified: trunk/modules/common/jboss-as/src/main/java/com/jboss/jbossnetwork/product/jbpm/handlers/BaseHandler.java
===================================================================
--- trunk/modules/common/jboss-as/src/main/java/com/jboss/jbossnetwork/product/jbpm/handlers/BaseHandler.java 2009-09-15 03:44:35 UTC (rev 1203)
+++ trunk/modules/common/jboss-as/src/main/java/com/jboss/jbossnetwork/product/jbpm/handlers/BaseHandler.java 2009-09-15 22:49:10 UTC (rev 1204)
@@ -31,6 +31,7 @@
import org.rhq.core.clientapi.util.StringUtil;
import org.rhq.core.domain.content.transfer.ContentResponseResult;
import org.rhq.core.domain.content.transfer.DeployPackageStep;
+import org.rhq.core.util.exception.ExceptionPackage;
/**
* Base class for all of our JBPM handlers, providing some basic functionality for transitioning between steps.
@@ -255,7 +256,7 @@
step.setStepResult(result);
if (throwable != null) {
- String errorMessage = StringUtil.getStackTrace(throwable);
+ String errorMessage = new ExceptionPackage(throwable).getStackTraceString();
step.setStepErrorMessage(errorMessage);
}
More information about the jopr-commits
mailing list