# Fix incerrect 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/a66a89de
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a66a89de
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a66a89de

Branch: refs/heads/ignite-sql-tests
Commit: a66a89de125fdc1c5c8416f4aa3b9262a1fb6d06
Parents: 56c832c
Author: sevdokimov <sevdoki...@gridgain.com>
Authored: Fri Feb 13 13:36:15 2015 +0300
Committer: sevdokimov <sevdoki...@gridgain.com>
Committed: Fri Feb 13 13:36:44 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheProcessor.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a66a89de/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
index c7f739c..342fc97 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
@@ -381,7 +381,7 @@ public class GridCacheProcessor extends 
GridProcessorAdapter {
                 "for cache: " + cc.getName());
 
         if (cc.isWriteThrough() && cfgStore == null)
-            throw new IgniteCheckedException("Cannot enable read-through 
(writer or store is not provided) " +
+            throw new IgniteCheckedException("Cannot enable write-through 
(writer or store is not provided) " +
                 "for cache: " + cc.getName());
 
         long delay = cc.getPreloadPartitionedDelay();

Reply via email to