cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject cxf git commit: add the index info in the error text to help error analysis
Date Wed, 11 May 2016 11:57:50 GMT
Repository: cxf
Updated Branches:
  refs/heads/master ee6ceea0d -> 242fc643d


add the index info in the error text to help error analysis


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/242fc643
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/242fc643
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/242fc643

Branch: refs/heads/master
Commit: 242fc643d4e8f71328193c7827150ca19faa0eeb
Parents: ee6ceea
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Wed May 11 13:57:33 2016 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Wed May 11 13:57:33 2016 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxrs/impl/UriBuilderImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/242fc643/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/UriBuilderImpl.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/UriBuilderImpl.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/UriBuilderImpl.java
index beb38e9..261351b 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/UriBuilderImpl.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/UriBuilderImpl.java
@@ -94,7 +94,7 @@ public class UriBuilderImpl extends UriBuilder implements Cloneable {
         }
         for (int i = 0; i < values.length; i++) {
             if (values[i] == null) {
-                throw new IllegalArgumentException("Template parameter value is set to null");
+                throw new IllegalArgumentException("Template parameter value at position
" + i + " is set to null");
             }
         }
         


Mime
View raw message