Author: thomas.diesler(a)jboss.com
Date: 2009-11-25 14:55:13 -0500 (Wed, 25 Nov 2009)
New Revision: 96991
Modified:
projects/jboss-osgi/projects/bundles/husky/trunk/harness/src/main/java/org/jboss/osgi/testing/internal/OSGiRuntimeImpl.java
Log:
Improve deploy exception msg
Modified:
projects/jboss-osgi/projects/bundles/husky/trunk/harness/src/main/java/org/jboss/osgi/testing/internal/OSGiRuntimeImpl.java
===================================================================
---
projects/jboss-osgi/projects/bundles/husky/trunk/harness/src/main/java/org/jboss/osgi/testing/internal/OSGiRuntimeImpl.java 2009-11-25
19:50:54 UTC (rev 96990)
+++
projects/jboss-osgi/projects/bundles/husky/trunk/harness/src/main/java/org/jboss/osgi/testing/internal/OSGiRuntimeImpl.java 2009-11-25
19:55:13 UTC (rev 96991)
@@ -357,6 +357,9 @@
}
catch (Exception ex)
{
+ if (arg.getClass().isArray())
+ arg = Arrays.asList((Object[])arg);
+
throw new BundleException("Cannot " + method + ": " +
arg, ex);
}
}