curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject [1/2] curator git commit: Fixes incomplete error message sent to caller
Date Fri, 20 May 2016 21:22:53 GMT
Repository: curator
Updated Branches:
  refs/heads/CURATOR-327 [created] 115346bf5


Fixes incomplete error message sent to caller

Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/1d3bed5a
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/1d3bed5a
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/1d3bed5a

Branch: refs/heads/CURATOR-327
Commit: 1d3bed5ab0db77c0dbeb679d8b8f06cd21348085
Parents: 3424fc1
Author: Raymond Maugé <rmauge@gmail.com>
Authored: Fri May 20 16:43:00 2016 -0400
Committer: Raymond Maugé <rmauge@gmail.com>
Committed: Fri May 20 16:43:00 2016 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/curator/framework/imps/NamespaceImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/1d3bed5a/curator-framework/src/main/java/org/apache/curator/framework/imps/NamespaceImpl.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/main/java/org/apache/curator/framework/imps/NamespaceImpl.java
b/curator-framework/src/main/java/org/apache/curator/framework/imps/NamespaceImpl.java
index ba6150a..29adbc6 100644
--- a/curator-framework/src/main/java/org/apache/curator/framework/imps/NamespaceImpl.java
+++ b/curator-framework/src/main/java/org/apache/curator/framework/imps/NamespaceImpl.java
@@ -45,7 +45,7 @@ class NamespaceImpl
             }
             catch ( IllegalArgumentException e )
             {
-                throw new IllegalArgumentException("Invalid namespace: " + namespace);
+                throw new IllegalArgumentException("Invalid namespace: " + namespace + ",
" + e.getMessage());
             }
         }
 


Mime
View raw message