ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [57/64] [abbrv] incubator-ignite git commit: Fixed compilation
Date Fri, 12 Dec 2014 07:15:35 GMT
Fixed compilation


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

Branch: refs/heads/ignite-21
Commit: 6f535d6a25b0d052d2b6443c32a205ec6478b635
Parents: 6f71e96
Author: Valentin Kulichenko <vkulichenko@gridgain.com>
Authored: Thu Dec 11 17:05:43 2014 +0300
Committer: Valentin Kulichenko <vkulichenko@gridgain.com>
Committed: Thu Dec 11 17:05:43 2014 +0300

----------------------------------------------------------------------
 .../grid/kernal/processors/cache/GridCacheProcessor.java        | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6f535d6a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheProcessor.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheProcessor.java
index bf56167..a2a8680 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheProcessor.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheProcessor.java
@@ -15,7 +15,6 @@ import org.apache.ignite.configuration.*;
 import org.apache.ignite.fs.*;
 import org.apache.ignite.lang.*;
 import org.apache.ignite.spi.*;
-import org.gridgain.grid.*;
 import org.gridgain.grid.cache.*;
 import org.gridgain.grid.cache.affinity.*;
 import org.gridgain.grid.cache.affinity.consistenthash.*;
@@ -45,8 +44,8 @@ import org.jetbrains.annotations.*;
 import javax.management.*;
 import java.util.*;
 
-import static org.apache.ignite.configuration.IgniteDeploymentMode.*;
 import static org.apache.ignite.IgniteSystemProperties.*;
+import static org.apache.ignite.configuration.IgniteDeploymentMode.*;
 import static org.gridgain.grid.cache.GridCacheAtomicityMode.*;
 import static org.gridgain.grid.cache.GridCacheConfiguration.*;
 import static org.gridgain.grid.cache.GridCacheDistributionMode.*;
@@ -399,7 +398,7 @@ public class GridCacheProcessor extends GridProcessorAdapter {
                 "transaction manager can not be used with ATOMIC cache");
 
         if (cc.isPortableEnabled() && !ctx.isEnterprise())
-            throw new GridException("Portable mode for cache is supported only in Enterprise
edition " +
+            throw new IgniteCheckedException("Portable mode for cache is supported only in
Enterprise edition " +
                 "(set 'portableEnabled' property to 'false') [cacheName=" + cc.getName()
+ ']');
     }
 


Mime
View raw message