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:58:38 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 340a1305b -> b029fcdc8


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

Branch: refs/heads/3.1.x-fixes
Commit: b029fcdc8c4771add662cd438df99c46f077ad42
Parents: 340a130
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:12 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/b029fcdc/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