felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsav...@apache.org
Subject svn commit: r988141 - /felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java
Date Mon, 23 Aug 2010 15:06:05 GMT
Author: dsavage
Date: Mon Aug 23 15:06:05 2010
New Revision: 988141

URL: http://svn.apache.org/viewvc?rev=988141&view=rev
Log:
improve error message for clarity

Modified:
    felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java

Modified: felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java?rev=988141&r1=988140&r2=988141&view=diff
==============================================================================
--- felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java
(original)
+++ felix/trunk/sigil/common/obr/src/org/apache/felix/sigil/common/obr/impl/OBRHandler.java
Mon Aug 23 15:06:05 2010
@@ -132,7 +132,7 @@ final class OBRHandler extends DefaultHa
             {
                 if (!sanity.add(uri))
                 {
-                    throw new RuntimeException(uri);
+                    throw new RuntimeException("Duplicate uri " + uri);
                 }
                 ISigilBundle b = ModelElementFactory.getInstance().newModelElement(
                     ISigilBundle.class);



Mime
View raw message