ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [02/13] incubator-ignite git commit: # IGNITE-26 Replaced IgniteCheckedException with IgniteException on public API.
Date Tue, 16 Dec 2014 15:13:13 GMT
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopMultimapBase.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopMultimapBase.java b/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopMultimapBase.java
index f7d5769..240e45d 100644
--- a/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopMultimapBase.java
+++ b/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopMultimapBase.java
@@ -155,7 +155,7 @@ public abstract class GridHadoopMultimapBase implements GridHadoopMultimap {
         }
 
         /** {@inheritDoc} */
-        @Override public void close() throws IgniteCheckedException {
+        @Override public void close() throws IgniteException {
             ser.close();
         }
     }
@@ -302,7 +302,7 @@ public abstract class GridHadoopMultimapBase implements GridHadoopMultimap {
         }
 
         /** {@inheritDoc} */
-        @Override public void close() throws IgniteCheckedException {
+        @Override public void close() throws IgniteException {
             allPages.add(pages);
 
             keySer.close();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopSkipList.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopSkipList.java b/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopSkipList.java
index bb6abce..40c5d50 100644
--- a/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopSkipList.java
+++ b/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/shuffle/collections/GridHadoopSkipList.java
@@ -600,7 +600,7 @@ public class GridHadoopSkipList extends GridHadoopMultimapBase {
         }
 
         /** {@inheritDoc} */
-        @Override public void close() throws IgniteCheckedException {
+        @Override public void close() throws IgniteException {
             keyReader.close();
             valReader.close();
         }
@@ -712,7 +712,7 @@ public class GridHadoopSkipList extends GridHadoopMultimapBase {
         }
 
         /** {@inheritDoc} */
-        @Override public void close() throws IgniteCheckedException {
+        @Override public void close() throws IgniteException {
             in.close();
         }
     }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/taskexecutor/GridHadoopRunnableTask.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/taskexecutor/GridHadoopRunnableTask.java b/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/taskexecutor/GridHadoopRunnableTask.java
index 711d0a4..987db51 100644
--- a/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/taskexecutor/GridHadoopRunnableTask.java
+++ b/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/taskexecutor/GridHadoopRunnableTask.java
@@ -92,7 +92,7 @@ public abstract class GridHadoopRunnableTask implements Callable<Void> {
     }
 
     /** {@inheritDoc} */
-    @Override public Void call() throws IgniteCheckedException {
+    @Override public Void call() throws IgniteException {
         execStartTs = U.currentTimeMillis();
 
         Throwable err = null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/v2/GridHadoopSerializationWrapper.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/v2/GridHadoopSerializationWrapper.java b/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/v2/GridHadoopSerializationWrapper.java
index 54abe1a..296ed4e 100644
--- a/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/v2/GridHadoopSerializationWrapper.java
+++ b/modules/hadoop/src/main/java/org/gridgain/grid/kernal/processors/hadoop/v2/GridHadoopSerializationWrapper.java
@@ -114,7 +114,7 @@ public class GridHadoopSerializationWrapper<T> implements GridHadoopSerializatio
     }
 
     /** {@inheritDoc} */
-    @Override public void close() throws IgniteCheckedException {
+    @Override public void close() throws IgniteException {
         try {
             serializer.close();
             deserializer.close();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/hadoop/src/test/java/org/gridgain/grid/kernal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/test/java/org/gridgain/grid/kernal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java b/modules/hadoop/src/test/java/org/gridgain/grid/kernal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java
index 19436e2d..b46ca8f 100644
--- a/modules/hadoop/src/test/java/org/gridgain/grid/kernal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java
+++ b/modules/hadoop/src/test/java/org/gridgain/grid/kernal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java
@@ -660,13 +660,13 @@ public class GridHadoopDefaultMapReducePlannerSelfTest extends GridHadoopAbstrac
 
         /** {@inheritDoc} */
         @Override public Collection<IgniteFsBlockLocation> affinity(IgniteFsPath path, long start, long len)
-            throws IgniteCheckedException {
+            throws IgniteException {
             return BLOCK_MAP.get(new Block(path, start, len));
         }
 
         /** {@inheritDoc} */
         @Override public Collection<IgniteFsBlockLocation> affinity(IgniteFsPath path, long start, long len,
-            long maxLen) throws IgniteCheckedException {
+            long maxLen) throws IgniteException {
             return null;
         }
 
@@ -687,17 +687,17 @@ public class GridHadoopDefaultMapReducePlannerSelfTest extends GridHadoopAbstrac
 
         /** {@inheritDoc} */
         @Override public GridGgfsInputStreamAdapter open(IgniteFsPath path, int bufSize, int seqReadsBeforePrefetch)
-            throws IgniteCheckedException {
+            throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public GridGgfsInputStreamAdapter open(IgniteFsPath path) throws IgniteCheckedException {
+        @Override public GridGgfsInputStreamAdapter open(IgniteFsPath path) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public GridGgfsInputStreamAdapter open(IgniteFsPath path, int bufSize) throws IgniteCheckedException {
+        @Override public GridGgfsInputStreamAdapter open(IgniteFsPath path, int bufSize) throws IgniteException {
             return null;
         }
 
@@ -757,58 +757,58 @@ public class GridHadoopDefaultMapReducePlannerSelfTest extends GridHadoopAbstrac
         }
 
         /** {@inheritDoc} */
-        @Override public boolean exists(IgniteFsPath path) throws IgniteCheckedException {
+        @Override public boolean exists(IgniteFsPath path) throws IgniteException {
             return false;
         }
 
         /** {@inheritDoc} */
-        @Nullable @Override public IgniteFsFile info(IgniteFsPath path) throws IgniteCheckedException {
+        @Nullable @Override public IgniteFsFile info(IgniteFsPath path) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public IgniteFsPathSummary summary(IgniteFsPath path) throws IgniteCheckedException {
+        @Override public IgniteFsPathSummary summary(IgniteFsPath path) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
         @Nullable @Override public IgniteFsFile update(IgniteFsPath path, Map<String, String> props)
-            throws IgniteCheckedException {
+            throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public void rename(IgniteFsPath src, IgniteFsPath dest) throws IgniteCheckedException {
+        @Override public void rename(IgniteFsPath src, IgniteFsPath dest) throws IgniteException {
             // No-op.
         }
 
         /** {@inheritDoc} */
-        @Override public boolean delete(IgniteFsPath path, boolean recursive) throws IgniteCheckedException {
+        @Override public boolean delete(IgniteFsPath path, boolean recursive) throws IgniteException {
             return false;
         }
 
         /** {@inheritDoc} */
-        @Override public void mkdirs(IgniteFsPath path) throws IgniteCheckedException {
+        @Override public void mkdirs(IgniteFsPath path) throws IgniteException {
             // No-op.
         }
 
         /** {@inheritDoc} */
-        @Override public void mkdirs(IgniteFsPath path, @Nullable Map<String, String> props) throws IgniteCheckedException {
+        @Override public void mkdirs(IgniteFsPath path, @Nullable Map<String, String> props) throws IgniteException {
             // No-op.
         }
 
         /** {@inheritDoc} */
-        @Override public Collection<IgniteFsPath> listPaths(IgniteFsPath path) throws IgniteCheckedException {
+        @Override public Collection<IgniteFsPath> listPaths(IgniteFsPath path) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public Collection<IgniteFsFile> listFiles(IgniteFsPath path) throws IgniteCheckedException {
+        @Override public Collection<IgniteFsFile> listFiles(IgniteFsPath path) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public long usedSpaceSize() throws IgniteCheckedException {
+        @Override public long usedSpaceSize() throws IgniteException {
             return 0;
         }
 
@@ -818,83 +818,83 @@ public class GridHadoopDefaultMapReducePlannerSelfTest extends GridHadoopAbstrac
         }
 
         /** {@inheritDoc} */
-        @Override public IgniteFsOutputStream create(IgniteFsPath path, boolean overwrite) throws IgniteCheckedException {
+        @Override public IgniteFsOutputStream create(IgniteFsPath path, boolean overwrite) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
         @Override public IgniteFsOutputStream create(IgniteFsPath path, int bufSize, boolean overwrite, int replication,
-            long blockSize, @Nullable Map<String, String> props) throws IgniteCheckedException {
+            long blockSize, @Nullable Map<String, String> props) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
         @Override public IgniteFsOutputStream create(IgniteFsPath path, int bufSize, boolean overwrite,
             @Nullable IgniteUuid affKey, int replication, long blockSize, @Nullable Map<String, String> props)
-            throws IgniteCheckedException {
+            throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public IgniteFsOutputStream append(IgniteFsPath path, boolean create) throws IgniteCheckedException {
+        @Override public IgniteFsOutputStream append(IgniteFsPath path, boolean create) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
         @Override public IgniteFsOutputStream append(IgniteFsPath path, int bufSize, boolean create,
-            @Nullable Map<String, String> props) throws IgniteCheckedException {
+            @Nullable Map<String, String> props) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public void setTimes(IgniteFsPath path, long accessTime, long modificationTime) throws IgniteCheckedException {
+        @Override public void setTimes(IgniteFsPath path, long accessTime, long modificationTime) throws IgniteException {
             // No-op.
         }
 
         /** {@inheritDoc} */
-        @Override public IgniteFsMetrics metrics() throws IgniteCheckedException {
+        @Override public IgniteFsMetrics metrics() throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public void resetMetrics() throws IgniteCheckedException {
+        @Override public void resetMetrics() throws IgniteException {
             // No-op.
         }
 
         /** {@inheritDoc} */
-        @Override public long size(IgniteFsPath path) throws IgniteCheckedException {
+        @Override public long size(IgniteFsPath path) throws IgniteException {
             return 0;
         }
 
         /** {@inheritDoc} */
-        @Override public void format() throws IgniteCheckedException {
+        @Override public void format() throws IgniteException {
             // No-op.
         }
 
         /** {@inheritDoc} */
         @Override public <T, R> R execute(IgniteFsTask<T, R> task, @Nullable IgniteFsRecordResolver rslvr,
-            Collection<IgniteFsPath> paths, @Nullable T arg) throws IgniteCheckedException {
+            Collection<IgniteFsPath> paths, @Nullable T arg) throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
         @Override public <T, R> R execute(IgniteFsTask<T, R> task, @Nullable IgniteFsRecordResolver rslvr,
             Collection<IgniteFsPath> paths, boolean skipNonExistentFiles, long maxRangeLen, @Nullable T arg)
-            throws IgniteCheckedException {
+            throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
         @Override public <T, R> R execute(Class<? extends IgniteFsTask<T, R>> taskCls,
             @Nullable IgniteFsRecordResolver rslvr, Collection<IgniteFsPath> paths, @Nullable T arg)
-            throws IgniteCheckedException {
+            throws IgniteException {
             return null;
         }
 
         /** {@inheritDoc} */
         @Override public <T, R> R execute(Class<? extends IgniteFsTask<T, R>> taskCls,
             @Nullable IgniteFsRecordResolver rslvr, Collection<IgniteFsPath> paths, boolean skipNonExistentFiles,
-            long maxRangeLen, @Nullable T arg) throws IgniteCheckedException {
+            long maxRangeLen, @Nullable T arg) throws IgniteException {
             return null;
         }
 
@@ -1063,22 +1063,22 @@ public class GridHadoopDefaultMapReducePlannerSelfTest extends GridHadoopAbstrac
         }
 
         /** {@inheritDoc} */
-        @Override public void stopNodes() throws IgniteCheckedException {
+        @Override public void stopNodes() {
             // No-op.
         }
 
         /** {@inheritDoc} */
-        @Override public void stopNodes(Collection<UUID> ids) throws IgniteCheckedException {
+        @Override public void stopNodes(Collection<UUID> ids) {
             // No-op.
         }
 
         /** {@inheritDoc} */
-        @Override public void restartNodes() throws IgniteCheckedException {
+        @Override public void restartNodes() {
             // No-op.
         }
 
         /** {@inheritDoc} */
-        @Override public void restartNodes(Collection<UUID> ids) throws IgniteCheckedException {
+        @Override public void restartNodes(Collection<UUID> ids) {
             // No-op.
         }
 
@@ -1193,7 +1193,7 @@ public class GridHadoopDefaultMapReducePlannerSelfTest extends GridHadoopAbstrac
         }
 
         /** {@inheritDoc} */
-        @Override public ClusterMetrics metrics() throws IgniteCheckedException {
+        @Override public ClusterMetrics metrics() {
             return null;
         }
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/hibernate/src/main/java/org/gridgain/grid/cache/hibernate/GridHibernateAccessStrategyAdapter.java
----------------------------------------------------------------------
diff --git a/modules/hibernate/src/main/java/org/gridgain/grid/cache/hibernate/GridHibernateAccessStrategyAdapter.java b/modules/hibernate/src/main/java/org/gridgain/grid/cache/hibernate/GridHibernateAccessStrategyAdapter.java
index 464d1c8..71bd0d6 100644
--- a/modules/hibernate/src/main/java/org/gridgain/grid/cache/hibernate/GridHibernateAccessStrategyAdapter.java
+++ b/modules/hibernate/src/main/java/org/gridgain/grid/cache/hibernate/GridHibernateAccessStrategyAdapter.java
@@ -333,7 +333,7 @@ public abstract class GridHibernateAccessStrategyAdapter {
         }
 
         /** {@inheritDoc} */
-        @Override public Void call() throws IgniteCheckedException {
+        @Override public Void call() throws IgniteException {
             GridCache<Object, Object> cache = ignite.cache(cacheName);
 
             assert cache != null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/GridH2ResultSetIterator.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/GridH2ResultSetIterator.java b/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/GridH2ResultSetIterator.java
index 61f1190..eefeb43 100644
--- a/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/GridH2ResultSetIterator.java
+++ b/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/GridH2ResultSetIterator.java
@@ -100,7 +100,7 @@ abstract class GridH2ResultSetIterator<T> extends GridCloseableIteratorAdapter<T
     }
 
     /** {@inheritDoc} */
-    @Override public void onClose() throws IgniteCheckedException {
+    @Override public void onClose() throws IgniteException {
         if (data == null)
             // Nothing to close.
             return;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/opt/GridLuceneIndex.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/opt/GridLuceneIndex.java b/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/opt/GridLuceneIndex.java
index 15f7a17..17ad01b 100644
--- a/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/opt/GridLuceneIndex.java
+++ b/modules/indexing/src/main/java/org/gridgain/grid/kernal/processors/query/h2/opt/GridLuceneIndex.java
@@ -376,7 +376,7 @@ public class GridLuceneIndex implements Closeable {
         }
 
         /** {@inheritDoc} */
-        @Override protected void onClose() throws IgniteCheckedException {
+        @Override protected void onClose() throws IgniteException {
             U.closeQuiet(searcher);
             U.closeQuiet(reader);
         }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/schedule/src/main/java/org/gridgain/grid/kernal/processors/schedule/ScheduleFutureImpl.java
----------------------------------------------------------------------
diff --git a/modules/schedule/src/main/java/org/gridgain/grid/kernal/processors/schedule/ScheduleFutureImpl.java b/modules/schedule/src/main/java/org/gridgain/grid/kernal/processors/schedule/ScheduleFutureImpl.java
index 7fc8996..5f856c3 100644
--- a/modules/schedule/src/main/java/org/gridgain/grid/kernal/processors/schedule/ScheduleFutureImpl.java
+++ b/modules/schedule/src/main/java/org/gridgain/grid/kernal/processors/schedule/ScheduleFutureImpl.java
@@ -436,7 +436,7 @@ class ScheduleFutureImpl<R> extends GridMetadataAwareAdapter implements Schedule
     }
 
     /** {@inheritDoc} */
-    @Override public long[] nextExecutionTimes(int cnt, long start) throws IgniteCheckedException {
+    @Override public long[] nextExecutionTimes(int cnt, long start) throws IgniteException {
         assert cnt > 0;
         assert start > 0;
 
@@ -464,7 +464,7 @@ class ScheduleFutureImpl<R> extends GridMetadataAwareAdapter implements Schedule
     }
 
     /** {@inheritDoc} */
-    @Override public long nextExecutionTime() throws IgniteCheckedException {
+    @Override public long nextExecutionTime() throws IgniteException {
         return nextExecutionTimes(1, U.currentTimeMillis())[0];
     }
 
@@ -545,7 +545,7 @@ class ScheduleFutureImpl<R> extends GridMetadataAwareAdapter implements Schedule
     }
 
     /** {@inheritDoc} */
-    @Override public R last() throws IgniteCheckedException {
+    @Override public R last() throws IgniteException {
         synchronized (mux) {
             if (lastErr != null)
                 throw U.cast(lastErr);
@@ -700,7 +700,7 @@ class ScheduleFutureImpl<R> extends GridMetadataAwareAdapter implements Schedule
     }
 
     /** {@inheritDoc} */
-    @Nullable @Override public R get() throws IgniteCheckedException {
+    @Nullable @Override public R get() throws IgniteException {
         CountDownLatch latch = ensureGet();
 
         if (latch != null) {
@@ -724,12 +724,12 @@ class ScheduleFutureImpl<R> extends GridMetadataAwareAdapter implements Schedule
     }
 
     /** {@inheritDoc} */
-    @Nullable @Override public R get(long timeout) throws IgniteCheckedException {
+    @Nullable @Override public R get(long timeout) throws IgniteException {
         return get(timeout, MILLISECONDS);
     }
 
     /** {@inheritDoc} */
-    @Nullable @Override public R get(long timeout, TimeUnit unit) throws IgniteCheckedException {
+    @Nullable @Override public R get(long timeout, TimeUnit unit) throws IgniteException {
         CountDownLatch latch = ensureGet();
 
         if (latch != null) {
@@ -801,7 +801,7 @@ class ScheduleFutureImpl<R> extends GridMetadataAwareAdapter implements Schedule
         }
 
         /** {@inheritDoc} */
-        @Override public R last() throws IgniteCheckedException {
+        @Override public R last() throws IgniteException {
             if (err != null)
                 throw U.cast(err);
 
@@ -879,7 +879,7 @@ class ScheduleFutureImpl<R> extends GridMetadataAwareAdapter implements Schedule
         }
 
         /** {@inheritDoc} */
-        @Override public long[] nextExecutionTimes(int cnt, long start) throws IgniteCheckedException {
+        @Override public long[] nextExecutionTimes(int cnt, long start) throws IgniteException {
             return ref.nextExecutionTimes(cnt, start);
         }
 
@@ -894,22 +894,22 @@ class ScheduleFutureImpl<R> extends GridMetadataAwareAdapter implements Schedule
         }
 
         /** {@inheritDoc} */
-        @Override public long nextExecutionTime() throws IgniteCheckedException {
+        @Override public long nextExecutionTime() throws IgniteException {
             return ref.nextExecutionTime();
         }
 
         /** {@inheritDoc} */
-        @Nullable @Override public R get() throws IgniteCheckedException {
+        @Nullable @Override public R get() throws IgniteException {
             return ref.get();
         }
 
         /** {@inheritDoc} */
-        @Nullable @Override public R get(long timeout) throws IgniteCheckedException {
+        @Nullable @Override public R get(long timeout) throws IgniteException {
             return ref.get(timeout);
         }
 
         /** {@inheritDoc} */
-        @Nullable @Override public R get(long timeout, TimeUnit unit) throws IgniteCheckedException {
+        @Nullable @Override public R get(long timeout, TimeUnit unit) throws IgniteException {
             return ref.get(timeout, unit);
         }
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask1.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask1.java b/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask1.java
index 2164a70..a3d2604 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask1.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask1.java
@@ -44,7 +44,7 @@ public class GridUserExternalResourceTask1 extends ComputeTaskSplitAdapter<Objec
     private IgniteLogger log;
 
     /** {@inheritDoc} */
-    @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+    @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
         assert rsrc1 != null;
         assert rsrc2 != null;
         assert rsrc3 != null;
@@ -71,7 +71,7 @@ public class GridUserExternalResourceTask1 extends ComputeTaskSplitAdapter<Objec
     }
 
     /** {@inheritDoc} */
-    @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+    @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
         assert rsrc1 != null;
         assert rsrc2 != null;
         assert rsrc3 != null;
@@ -109,7 +109,7 @@ public class GridUserExternalResourceTask1 extends ComputeTaskSplitAdapter<Objec
 
         /** {@inheritDoc} */
         @SuppressWarnings({"ObjectEquality"})
-        @Override public Serializable execute() throws IgniteCheckedException {
+        @Override public Serializable execute() throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask2.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask2.java b/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask2.java
index abf87cb..39fee7f 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask2.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/external/resource/GridUserExternalResourceTask2.java
@@ -49,7 +49,7 @@ public class GridUserExternalResourceTask2 extends ComputeTaskSplitAdapter<Objec
     private ComputeTaskSession ses;
 
     /** {@inheritDoc} */
-    @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+    @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
         assert rsrc1 != null;
         assert rsrc2 != null;
         assert rsrc3 != null;
@@ -76,7 +76,7 @@ public class GridUserExternalResourceTask2 extends ComputeTaskSplitAdapter<Objec
     }
 
     /** {@inheritDoc} */
-    @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+    @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
         assert rsrc1 != null;
         assert rsrc2 != null;
         assert rsrc3 != null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/GridFactorySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/GridFactorySelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/GridFactorySelfTest.java
index c42d6d2..1ce6a39 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/GridFactorySelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/GridFactorySelfTest.java
@@ -787,12 +787,12 @@ public class GridFactorySelfTest extends GridCommonAbstractTest {
      */
     private static class TestTask extends ComputeTaskSplitAdapter<Void, Void> {
         /** {@inheritDoc} */
-        @Override protected Collection<? extends ComputeJob> split(int gridSize, Void arg) throws IgniteCheckedException {
+        @Override protected Collection<? extends ComputeJob> split(int gridSize, Void arg) throws IgniteException {
             return F.asSet(new TestJob());
         }
 
         /** {@inheritDoc} */
-        @Nullable @Override public Void reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Nullable @Override public Void reduce(List<ComputeJobResult> results) throws IgniteException {
             return null;
         }
     }
@@ -803,7 +803,7 @@ public class GridFactorySelfTest extends GridCommonAbstractTest {
     private static class TestJob extends ComputeJobAdapter {
         /** {@inheritDoc} */
         @SuppressWarnings("StatementWithEmptyBody")
-        @Override public Object execute() throws IgniteCheckedException {
+        @Override public Object execute() throws IgniteException {
             long start = System.currentTimeMillis();
 
             while (System.currentTimeMillis() - start < 3000);

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceConcurrentUndeploySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceConcurrentUndeploySelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceConcurrentUndeploySelfTest.java
index 4947af2..9f638d1 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceConcurrentUndeploySelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceConcurrentUndeploySelfTest.java
@@ -400,7 +400,7 @@ public class GridResourceConcurrentUndeploySelfTest extends GridCommonAbstractTe
         private transient UserResource rsrcTask;
 
         /** {@inheritDoc} */
-        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, @Nullable Boolean arg) throws IgniteCheckedException {
+        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, @Nullable Boolean arg) throws IgniteException {
             assert rsrcTask != null;
 
             for (ClusterNode node : subgrid) {
@@ -449,7 +449,7 @@ public class GridResourceConcurrentUndeploySelfTest extends GridCommonAbstractTe
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrcTask != null;
 
             return null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceEventFilterSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceEventFilterSelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceEventFilterSelfTest.java
index 1828572..573e61b 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceEventFilterSelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceEventFilterSelfTest.java
@@ -155,7 +155,7 @@ public class GridResourceEventFilterSelfTest extends GridCommonAbstractTest {
     @ComputeTaskName("name")
     public static class TestTask extends ComputeTaskSplitAdapter<Object, Object> {
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             Collection<ComputeJobAdapter> jobs = new ArrayList<>(gridSize);
 
             for (int i = 0; i < gridSize; i++) {
@@ -171,7 +171,7 @@ public class GridResourceEventFilterSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             return null;
         }
     }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldInjectionSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldInjectionSelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldInjectionSelfTest.java
index 6d56964..ffb998d 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldInjectionSelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldInjectionSelfTest.java
@@ -289,7 +289,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         private Object rsrc;
 
         /** {@inheritDoc} */
-        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -297,7 +297,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -315,7 +315,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         private transient Object springBean;
 
         /** {@inheritDoc} */
-        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -323,7 +323,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -341,7 +341,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         private transient Serializable springBean;
 
         /** {@inheritDoc} */
-        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -349,7 +349,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -367,7 +367,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         private Object rsrc;
 
         /** {@inheritDoc} */
-        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -375,7 +375,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -462,7 +462,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         private transient ComputeTaskContinuousMapper mapper;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -604,7 +604,7 @@ public class GridResourceFieldInjectionSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldOverrideInjectionSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldOverrideInjectionSelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldOverrideInjectionSelfTest.java
index 01ee9b7..5108c9b 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldOverrideInjectionSelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceFieldOverrideInjectionSelfTest.java
@@ -110,7 +110,7 @@ public class GridResourceFieldOverrideInjectionSelfTest extends GridCommonAbstra
         private ComputeJobContext jobCtx;
 
         /** {@inheritDoc} */
-        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteException {
             assert log != null;
             assert rsrc != null;
             assert springBean != null;
@@ -180,7 +180,7 @@ public class GridResourceFieldOverrideInjectionSelfTest extends GridCommonAbstra
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert log != null;
             assert rsrc != null;
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIocSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIocSelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIocSelfTest.java
index 903f7e2..af13906 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIocSelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIocSelfTest.java
@@ -250,7 +250,7 @@ public class GridResourceIocSelfTest extends GridCommonAbstractTest {
         private transient UserResource1 rsrc1;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
 
             Collection<ComputeJobAdapter> jobs = new ArrayList<>(gridSize);
@@ -273,7 +273,7 @@ public class GridResourceIocSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Nullable @Override public Void reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Nullable @Override public Void reduce(List<ComputeJobResult> results) throws IgniteException {
             return null;
         }
     }
@@ -295,14 +295,14 @@ public class GridResourceIocSelfTest extends GridCommonAbstractTest {
 
         /** {@inheritDoc} */
         @Nullable
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
 
             return null;
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
 
             // Nothing to reduce.

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedClassLoaderSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedClassLoaderSelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedClassLoaderSelfTest.java
index 16824aa..3188d09 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedClassLoaderSelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedClassLoaderSelfTest.java
@@ -316,7 +316,7 @@ public class GridResourceIsolatedClassLoaderSelfTest extends GridCommonAbstractT
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -343,7 +343,7 @@ public class GridResourceIsolatedClassLoaderSelfTest extends GridCommonAbstractT
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -434,7 +434,7 @@ public class GridResourceIsolatedClassLoaderSelfTest extends GridCommonAbstractT
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -512,7 +512,7 @@ public class GridResourceIsolatedClassLoaderSelfTest extends GridCommonAbstractT
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -548,7 +548,7 @@ public class GridResourceIsolatedClassLoaderSelfTest extends GridCommonAbstractT
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -626,7 +626,7 @@ public class GridResourceIsolatedClassLoaderSelfTest extends GridCommonAbstractT
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -662,7 +662,7 @@ public class GridResourceIsolatedClassLoaderSelfTest extends GridCommonAbstractT
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -740,7 +740,7 @@ public class GridResourceIsolatedClassLoaderSelfTest extends GridCommonAbstractT
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedTaskSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedTaskSelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedTaskSelfTest.java
index 5391267..f71a4b7 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedTaskSelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceIsolatedTaskSelfTest.java
@@ -296,7 +296,7 @@ public class GridResourceIsolatedTaskSelfTest extends GridCommonAbstractTest {
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -323,7 +323,7 @@ public class GridResourceIsolatedTaskSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -414,7 +414,7 @@ public class GridResourceIsolatedTaskSelfTest extends GridCommonAbstractTest {
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -492,7 +492,7 @@ public class GridResourceIsolatedTaskSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -528,7 +528,7 @@ public class GridResourceIsolatedTaskSelfTest extends GridCommonAbstractTest {
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -606,7 +606,7 @@ public class GridResourceIsolatedTaskSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -642,7 +642,7 @@ public class GridResourceIsolatedTaskSelfTest extends GridCommonAbstractTest {
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -720,7 +720,7 @@ public class GridResourceIsolatedTaskSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodInjectionSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodInjectionSelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodInjectionSelfTest.java
index 9f7a1c4..be9c69f 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodInjectionSelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodInjectionSelfTest.java
@@ -164,7 +164,7 @@ public class GridResourceMethodInjectionSelfTest extends GridCommonAbstractTest
         private GridAbstractUserResource rsrc;
 
         /** {@inheritDoc} */
-        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -172,7 +172,7 @@ public class GridResourceMethodInjectionSelfTest extends GridCommonAbstractTest
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             // Never reached.
             assert false;
 
@@ -392,7 +392,7 @@ public class GridResourceMethodInjectionSelfTest extends GridCommonAbstractTest
         }
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -580,7 +580,7 @@ public class GridResourceMethodInjectionSelfTest extends GridCommonAbstractTest
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodOverrideInjectionSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodOverrideInjectionSelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodOverrideInjectionSelfTest.java
index d69d7b6..88c1f18 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodOverrideInjectionSelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceMethodOverrideInjectionSelfTest.java
@@ -311,7 +311,7 @@ public class GridResourceMethodOverrideInjectionSelfTest extends GridCommonAbstr
         }
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -454,7 +454,7 @@ public class GridResourceMethodOverrideInjectionSelfTest extends GridCommonAbstr
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceProcessorSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceProcessorSelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceProcessorSelfTest.java
index f37aa6b..08fc304 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceProcessorSelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceProcessorSelfTest.java
@@ -316,7 +316,7 @@ public class GridResourceProcessorSelfTest extends GridCommonAbstractTest {
          * @param gridSize Grid size.
          * @param arg Task argument.
          */
-        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteException {
             assert taskLog != null;
 
             final IgniteOutClosure<Object> callable = new IgniteOutClosure<Object>() {
@@ -351,7 +351,7 @@ public class GridResourceProcessorSelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert results.size() == 1;
 
             return results.get(0).getData();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceSharedUndeploySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceSharedUndeploySelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceSharedUndeploySelfTest.java
index 834f311..f36ccbd 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceSharedUndeploySelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/kernal/processors/resource/GridResourceSharedUndeploySelfTest.java
@@ -454,7 +454,7 @@ public class GridResourceSharedUndeploySelfTest extends GridCommonAbstractTest {
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -481,7 +481,7 @@ public class GridResourceSharedUndeploySelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -572,7 +572,7 @@ public class GridResourceSharedUndeploySelfTest extends GridCommonAbstractTest {
         private IgniteLogger log;
 
         /** {@inheritDoc} */
-        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<ComputeJobAdapter> split(int gridSize, Object arg) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;
@@ -650,7 +650,7 @@ public class GridResourceSharedUndeploySelfTest extends GridCommonAbstractTest {
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert rsrc1 != null;
             assert rsrc2 != null;
             assert rsrc3 != null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/spring/src/test/java/org/gridgain/grid/p2p/GridP2PContinuousLocalDeploySelfTest.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/test/java/org/gridgain/grid/p2p/GridP2PContinuousLocalDeploySelfTest.java b/modules/spring/src/test/java/org/gridgain/grid/p2p/GridP2PContinuousLocalDeploySelfTest.java
index bb46776..59cfae9 100644
--- a/modules/spring/src/test/java/org/gridgain/grid/p2p/GridP2PContinuousLocalDeploySelfTest.java
+++ b/modules/spring/src/test/java/org/gridgain/grid/p2p/GridP2PContinuousLocalDeploySelfTest.java
@@ -190,7 +190,7 @@ public class GridP2PContinuousLocalDeploySelfTest extends GridCommonAbstractTest
         private Ignite ignite;
 
         /** {@inheritDoc} */
-        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, @Nullable Object arg) throws IgniteCheckedException {
+        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, @Nullable Object arg) throws IgniteException {
             log.info("Injected resource1: " + rsrc1);
             log.info("Injected resource1: " + rsrc2);
 
@@ -202,7 +202,7 @@ public class GridP2PContinuousLocalDeploySelfTest extends GridCommonAbstractTest
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             // Nothing to reduce.
             return null;
         }
@@ -262,7 +262,7 @@ public class GridP2PContinuousLocalDeploySelfTest extends GridCommonAbstractTest
         private Ignite ignite;
 
         /** {@inheritDoc} */
-        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, @Nullable Object arg) throws IgniteCheckedException {
+        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, @Nullable Object arg) throws IgniteException {
             log.info("Injected resource1: " + rsrc1);
             log.info("Injected resource1: " + rsrc2);
 
@@ -274,7 +274,7 @@ public class GridP2PContinuousLocalDeploySelfTest extends GridCommonAbstractTest
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             // Nothing to reduce.
             return null;
         }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentClassloaderRegisterSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentClassloaderRegisterSelfTest.java b/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentClassloaderRegisterSelfTest.java
index 33bd546..6fe49fc 100644
--- a/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentClassloaderRegisterSelfTest.java
+++ b/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentClassloaderRegisterSelfTest.java
@@ -124,11 +124,11 @@ public class GridUriDeploymentClassloaderRegisterSelfTest extends GridSpiAbstrac
      */
     private static class GridFileDeploymentTestTask extends ComputeTaskSplitAdapter<Object, Object> {
         /** {@inheritDoc} */
-        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteCheckedException {
+        @Override protected Collection<? extends ComputeJob> split(int gridSize, Object arg) throws IgniteException {
             return null;
         }
         /** {@inheritDoc} */
-        @Override public Serializable reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Serializable reduce(List<ComputeJobResult> results) throws IgniteException {
             return null;
         }
     }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8bc850c2/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentSimpleSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentSimpleSelfTest.java b/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentSimpleSelfTest.java
index 7864eae..ff47d9c 100644
--- a/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentSimpleSelfTest.java
+++ b/modules/urideploy/src/test/java/org/apache/ignite/spi/deployment/uri/GridUriDeploymentSimpleSelfTest.java
@@ -131,7 +131,7 @@ public class GridUriDeploymentSimpleSelfTest extends GridSpiAbstractTest<GridUri
      */
     private static class TestTask extends ComputeTaskAdapter<Object, Object> {
         /** {@inheritDoc} */
-        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, Object arg) throws IgniteCheckedException {
+        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, Object arg) throws IgniteException {
             assert subgrid.size() == 1;
 
             return Collections.singletonMap(new ComputeJobAdapter() {
@@ -140,7 +140,7 @@ public class GridUriDeploymentSimpleSelfTest extends GridSpiAbstractTest<GridUri
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert results.size() == 1;
 
             return results.get(0).getData();
@@ -153,7 +153,7 @@ public class GridUriDeploymentSimpleSelfTest extends GridSpiAbstractTest<GridUri
     @ComputeTaskName("TestTaskWithName")
     private static class TestTaskWithName extends ComputeTaskAdapter<Object, Object> {
         /** {@inheritDoc} */
-        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, Object arg) throws IgniteCheckedException {
+        @Override public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, Object arg) throws IgniteException {
             assert subgrid.size() == 1;
 
             return Collections.singletonMap(new ComputeJobAdapter() {
@@ -162,7 +162,7 @@ public class GridUriDeploymentSimpleSelfTest extends GridSpiAbstractTest<GridUri
         }
 
         /** {@inheritDoc} */
-        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteCheckedException {
+        @Override public Object reduce(List<ComputeJobResult> results) throws IgniteException {
             assert results.size() == 1;
 
             return results.get(0).getData();


Mime
View raw message