geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r654817 - /geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/AbstractName.java
Date Fri, 09 May 2008 13:53:40 GMT
Author: dwoods
Date: Fri May  9 06:53:40 2008
New Revision: 654817

URL: http://svn.apache.org/viewvc?rev=654817&view=rev
Log:
merged in r654755 from trunk - Include the invalid uri in the exception text

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/AbstractName.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/AbstractName.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/AbstractName.java?rev=654817&r1=654816&r2=654817&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/AbstractName.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/AbstractName.java
Fri May  9 06:53:40 2008
@@ -118,7 +118,10 @@
         //
         name = new TreeMap();
         String nameString = uri.getQuery();
-        if (nameString == null) throw new IllegalArgumentException("uri does not contain
a query part used for the name map");
+        if (nameString == null) {
+            throw new IllegalArgumentException("uri does not contain a query part used for
the name map; uri: " + uri);
+        }
+
         List nameParts = split(nameString, ',');
         for (Iterator iterator = nameParts.iterator(); iterator.hasNext();) {
             String namePart = (String) iterator.next();



Mime
View raw message