You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dm...@apache.org on 2015/11/17 14:23:50 UTC
ignite git commit: IGNITE-801: avoid shadowing of RuntimeExceptions
Repository: ignite
Updated Branches:
refs/heads/ignite-801 b74a26a9a -> a2b433a90
IGNITE-801: avoid shadowing of RuntimeExceptions
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/a2b433a9
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/a2b433a9
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/a2b433a9
Branch: refs/heads/ignite-801
Commit: a2b433a909fd133163c64b02fffac48fe2db6afa
Parents: b74a26a
Author: Denis Magda <dm...@gridgain.com>
Authored: Tue Nov 17 16:23:34 2015 +0300
Committer: Denis Magda <dm...@gridgain.com>
Committed: Tue Nov 17 16:23:34 2015 +0300
----------------------------------------------------------------------
.../datastructures/GridTransactionalCacheQueueImpl.java | 12 ++++++++++++
1 file changed, 12 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/a2b433a9/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridTransactionalCacheQueueImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridTransactionalCacheQueueImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridTransactionalCacheQueueImpl.java
index 0e7e032..4880324 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridTransactionalCacheQueueImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridTransactionalCacheQueueImpl.java
@@ -80,6 +80,9 @@ public class GridTransactionalCacheQueueImpl<T> extends GridCacheQueueAdapter<T>
catch (IgniteCheckedException e) {
throw U.convertException(e);
}
+ catch (RuntimeException e) {
+ throw e;
+ }
catch (Exception e) {
throw new IgniteException(e.getMessage(), e);
}
@@ -116,6 +119,9 @@ public class GridTransactionalCacheQueueImpl<T> extends GridCacheQueueAdapter<T>
catch (IgniteCheckedException e) {
throw U.convertException(e);
}
+ catch (RuntimeException e) {
+ throw e;
+ }
catch (Exception e) {
throw new IgniteException(e.getMessage(), e);
}
@@ -162,6 +168,9 @@ public class GridTransactionalCacheQueueImpl<T> extends GridCacheQueueAdapter<T>
catch (IgniteCheckedException e) {
throw U.convertException(e);
}
+ catch (RuntimeException e) {
+ throw e;
+ }
catch (Exception e) {
throw new IgniteException(e.getMessage(), e);
}
@@ -191,6 +200,9 @@ public class GridTransactionalCacheQueueImpl<T> extends GridCacheQueueAdapter<T>
}
}).call();
}
+ catch (RuntimeException e) {
+ throw e;
+ }
catch (Exception e) {
throw new IgniteCheckedException(e);
}