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 12:00:28 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 62e0f8d45 -> 44d015322


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/44d01532
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/44d01532
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/44d01532

Branch: refs/heads/3.0.x-fixes
Commit: 44d015322386fcdb2910be38da77f8b9ef6138a3
Parents: 62e0f8d
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:58:57 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/44d01532/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 ae10a1b..f04c4d0 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