FELIX-5112 ClassCastException when deploying an OBR Resource already present in the runtime

Added exception printing
Committed on behalf of @skahmann with many thanks. Contributed via https://github.com/apache/felix/pull/44

This closes #44.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1718674 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/ResolverImplTest.java b/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/ResolverImplTest.java
index 5d3e5c2..adef608 100644
--- a/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/ResolverImplTest.java
+++ b/bundlerepository/src/test/java/org/apache/felix/bundlerepository/impl/ResolverImplTest.java
@@ -165,6 +165,7 @@
             resolver.resolve();
             resolver.deploy(Resolver.START);
         } catch (Exception e) {
+            e.printStackTrace();
             exceptionThrown = true;
         }
         assertFalse(exceptionThrown);