commit | aa8f45a04797dac6bede980de7d991f8bf77ce9a | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Fri Dec 19 23:24:16 2008 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Fri Dec 19 23:24:16 2008 +0000 |
tree | f8c009045e97bf1b68bf0970c15e302987469df3 | |
parent | 29139dacaddc0d7c7e822dc5864fb4c24b288533 [diff] |
Modify error message to include bundle ID. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@728182 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/Felix.java b/framework/src/main/java/org/apache/felix/framework/Felix.java index bf8abe7..5570ce5 100644 --- a/framework/src/main/java/org/apache/felix/framework/Felix.java +++ b/framework/src/main/java/org/apache/felix/framework/Felix.java
@@ -2056,7 +2056,7 @@ // throw a BundleException when there is an attempt to stop one. if (Util.isFragment(info.getCurrentModule())) { - throw new BundleException("Fragment bundles can not be stopped."); + throw new BundleException("Fragment bundles can not be stopped: " + bundle); } switch (info.getState())