ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #ignite-947: change exception message.
Date Wed, 27 May 2015 18:50:57 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-947 feb27c5b4 -> 76db4cfd3


#ignite-947: change exception message.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/76db4cfd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/76db4cfd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/76db4cfd

Branch: refs/heads/ignite-947
Commit: 76db4cfd303c68c5b182489036d0776fe32dcbf5
Parents: feb27c5
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed May 27 21:50:30 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed May 27 21:50:30 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/query/h2/sql/GridSqlQuerySplitter.java     | 2 +-
 .../internal/processors/query/h2/sql/BaseH2CompareQueryTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/76db4cfd/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
index 762d45c..b1d8913 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
@@ -289,7 +289,7 @@ public class GridSqlQuerySplitter {
                 target.add(null);
 
             if (params.length <= idx)
-                throw new IgniteException("Please provide all parameters for query. " +
+                throw new IgniteException("Invalid number of query parameters. " +
                     "Cannot find " + idx + " parameter.");
 
             Object param = params[idx];

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/76db4cfd/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/BaseH2CompareQueryTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/BaseH2CompareQueryTest.java
b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/BaseH2CompareQueryTest.java
index 018c672..99366f0 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/BaseH2CompareQueryTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/BaseH2CompareQueryTest.java
@@ -192,7 +192,7 @@ public class BaseH2CompareQueryTest extends AbstractH2CompareQueryTest
{
 
                 return null;
             }
-        }, IgniteException.class, "Please provide all parameters for query.");
+        }, IgniteException.class, "Invalid number of query parameters.");
     }
 
     /**


Mime
View raw message