in src/main/java/org/apache/openejb/cts/deploy/OperationStatus.java [125:145]
public String errMessage() {
StringBuffer buf = new StringBuffer("Failed targets: ");
int numFailures = (failedTargets == null) ? 0 : failedTargets.length;
for (int i = 0; i < numFailures; i++) {
buf.append(failedTargets[i].getName() + " ");
}
buf.append(TestUtil.NEW_LINE + "DeploymentStatus...");
buf.append(TestUtil.NEW_LINE + "Message = "
+ progress.getDeploymentStatus().getMessage());
buf.append(TestUtil.NEW_LINE + "State = "
+ progress.getDeploymentStatus().getState());
buf.append(TestUtil.NEW_LINE + "Command = "
+ progress.getDeploymentStatus().getCommand());
buf.append(TestUtil.NEW_LINE + "Action = "
+ progress.getDeploymentStatus().getAction());
buf.append(TestUtil.NEW_LINE + "Additional info = "
+ progress.getDeploymentStatus().toString() + TestUtil.NEW_LINE);
return buf.toString();
}