ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/3] incubator-ignite git commit: # ignite-774: [aop]
Date Tue, 21 Apr 2015 16:22:31 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-774 [created] 5a84de455


# ignite-774: [aop]


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

Branch: refs/heads/ignite-774
Commit: 0568d52fcb103302ecfefda53fe23c36df315cec
Parents: dc455be
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Tue Apr 21 18:30:40 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Tue Apr 21 18:30:40 2015 +0300

----------------------------------------------------------------------
 .../ignite/compute/gridify/aop/aspectj/GridifyAspectJAspect.java   | 2 +-
 .../compute/gridify/aop/aspectj/GridifySetToSetAspectJAspect.java  | 2 +-
 .../gridify/aop/aspectj/GridifySetToValueAspectJAspect.java        | 2 +-
 .../compute/gridify/aop/spring/GridifySetToSetSpringAspect.java    | 2 +-
 .../compute/gridify/aop/spring/GridifySetToValueSpringAspect.java  | 2 +-
 .../ignite/compute/gridify/aop/spring/GridifySpringAspect.java     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0568d52f/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifyAspectJAspect.java
----------------------------------------------------------------------
diff --git a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifyAspectJAspect.java
b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifyAspectJAspect.java
index 1cccc1e..f13b64c 100644
--- a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifyAspectJAspect.java
+++ b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifyAspectJAspect.java
@@ -102,7 +102,7 @@ public class GridifyAspectJAspect {
             // If task name was specified.
             return ignite.compute().withTimeout(ann.timeout()).execute(ann.taskName(), arg);
         }
-        catch (Throwable e) {
+        catch (Exception e) {
             for (Class<?> ex : ((MethodSignature) joinPnt.getSignature()).getMethod().getExceptionTypes())
{
                 // Descend all levels down.
                 Throwable cause = e.getCause();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0568d52f/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToSetAspectJAspect.java
----------------------------------------------------------------------
diff --git a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToSetAspectJAspect.java
b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToSetAspectJAspect.java
index 6d5d05f..acd318b 100644
--- a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToSetAspectJAspect.java
+++ b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToSetAspectJAspect.java
@@ -113,7 +113,7 @@ public class GridifySetToSetAspectJAspect extends GridifySetToSetAbstractAspect
             return execute(ignite.compute(), joinPnt.getSignature().getDeclaringType(), arg,
nodeFilter,
                 ann.threshold(), ann.splitSize(), ann.timeout());
         }
-        catch (Throwable e) {
+        catch (Exception e) {
             for (Class<?> ex : ((MethodSignature) joinPnt.getSignature()).getMethod().getExceptionTypes())
{
                 // Descend all levels down.
                 Throwable cause = e.getCause();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0568d52f/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToValueAspectJAspect.java
----------------------------------------------------------------------
diff --git a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToValueAspectJAspect.java
b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToValueAspectJAspect.java
index 46d4c56..ae39ceb 100644
--- a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToValueAspectJAspect.java
+++ b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/aspectj/GridifySetToValueAspectJAspect.java
@@ -113,7 +113,7 @@ public class GridifySetToValueAspectJAspect extends GridifySetToValueAbstractAsp
             return execute(mtd, ignite.compute(), joinPnt.getSignature().getDeclaringType(),
arg, nodeFilter,
                 ann.threshold(), ann.splitSize(), ann.timeout());
         }
-        catch (Throwable e) {
+        catch (Exception e) {
             for (Class<?> ex : ((MethodSignature) joinPnt.getSignature()).getMethod().getExceptionTypes())
{
                 // Descend all levels down.
                 Throwable cause = e.getCause();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0568d52f/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToSetSpringAspect.java
----------------------------------------------------------------------
diff --git a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToSetSpringAspect.java
b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToSetSpringAspect.java
index 102b60c..b7499af 100644
--- a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToSetSpringAspect.java
+++ b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToSetSpringAspect.java
@@ -108,7 +108,7 @@ public class GridifySetToSetSpringAspect extends GridifySetToSetAbstractAspect
i
             return execute(ignite.compute(), invoc.getMethod().getDeclaringClass(), arg,
nodeFilter,
                 ann.threshold(), ann.splitSize(), ann.timeout());
         }
-        catch (Throwable e) {
+        catch (Exception e) {
             for (Class<?> ex : invoc.getMethod().getExceptionTypes()) {
                 // Descend all levels down.
                 Throwable cause = e.getCause();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0568d52f/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToValueSpringAspect.java
----------------------------------------------------------------------
diff --git a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToValueSpringAspect.java
b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToValueSpringAspect.java
index cf6557c..af4bee6 100644
--- a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToValueSpringAspect.java
+++ b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySetToValueSpringAspect.java
@@ -108,7 +108,7 @@ public class GridifySetToValueSpringAspect extends GridifySetToValueAbstractAspe
             return execute(mtd, ignite.compute(), invoc.getMethod().getDeclaringClass(),
arg, nodeFilter,
                 ann.threshold(), ann.splitSize(), ann.timeout());
         }
-        catch (Throwable e) {
+        catch (Exception e) {
             for (Class<?> ex : invoc.getMethod().getExceptionTypes()) {
                 // Descend all levels down.
                 Throwable cause = e.getCause();

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0568d52f/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySpringAspect.java
----------------------------------------------------------------------
diff --git a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySpringAspect.java
b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySpringAspect.java
index a11e2f1..a7984c5 100644
--- a/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySpringAspect.java
+++ b/modules/aop/src/main/java/org/apache/ignite/compute/gridify/aop/spring/GridifySpringAspect.java
@@ -96,7 +96,7 @@ public class GridifySpringAspect implements MethodInterceptor {
             // If task name was specified.
             return ignite.compute().withTimeout(ann.timeout()).execute(ann.taskName(), arg);
         }
-        catch (Throwable e) {
+        catch (Exception e) {
             for (Class<?> ex : invoc.getMethod().getExceptionTypes()) {
                 // Descend all levels down.
                 Throwable cause = e.getCause();


Mime
View raw message