Make uses constraint exception more explicit (i.e., say it
is a "uses" constraint violation).


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1090373 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/resolver/ResolverImpl.java b/framework/src/main/java/org/apache/felix/framework/resolver/ResolverImpl.java
index ec6355b..60f18f0 100644
--- a/framework/src/main/java/org/apache/felix/framework/resolver/ResolverImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/resolver/ResolverImpl.java
@@ -831,7 +831,7 @@
                         permutate(allCandidates, sourceBlame.m_reqs.get(0), m_importPermutations);
                         // Report conflict.
                         ResolveException ex = new ResolveException(
-                            "Unable to resolve module "
+                            "Uses constraint violation. Unable to resolve module "
                             + module.getSymbolicName()
                             + " [" + module
                             + "] because it is exposed to package '"
@@ -879,7 +879,7 @@
                     rethrow = (rethrow != null)
                         ? rethrow
                         : new ResolveException(
-                            "Unable to resolve module "
+                            "Uses constraint violation. Unable to resolve module "
                             + module.getSymbolicName()
                             + " [" + module
                             + "] because it exports package '"
@@ -962,7 +962,7 @@
                         rethrow = (rethrow != null)
                             ? rethrow
                             : new ResolveException(
-                                "Unable to resolve module "
+                                "Uses constraint violation. Unable to resolve module "
                                 + module.getSymbolicName()
                                 + " [" + module
                                 + "] because it is exposed to package '"