Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8687E175BF for ; Tue, 9 Jun 2015 10:05:08 +0000 (UTC) Received: (qmail 13711 invoked by uid 500); 9 Jun 2015 10:05:03 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 13672 invoked by uid 500); 9 Jun 2015 10:05:03 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 13624 invoked by uid 99); 9 Jun 2015 10:05:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 10:05:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 09 Jun 2015 10:02:51 +0000 Received: (qmail 11041 invoked by uid 99); 9 Jun 2015 10:04:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 10:04:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DA309DFFA9; Tue, 9 Jun 2015 10:04:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Tue, 09 Jun 2015 10:05:11 -0000 Message-Id: <0ab9164e159b41f3bd43988e948f68bd@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [41/50] incubator-ignite git commit: # IGNITE-992 Review. X-Virus-Checked: Checked by ClamAV on apache.org # IGNITE-992 Review. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/ea12580d Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/ea12580d Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/ea12580d Branch: refs/heads/ignite-648 Commit: ea12580dabd60dc0c2b1a0e86d7112b409366ba7 Parents: 662f733 Author: AKuznetsov Authored: Tue Jun 9 10:15:41 2015 +0700 Committer: AKuznetsov Committed: Tue Jun 9 10:15:41 2015 +0700 ---------------------------------------------------------------------- .../apache/ignite/internal/util/IgniteExceptionRegistry.java | 2 +- .../internal/visor/node/VisorNodeDataCollectorTask.java | 8 ++++---- .../apache/ignite/internal/visor/query/VisorQueryJob.java | 2 +- .../ignite/internal/visor/util/VisorExceptionWrapper.java | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ea12580d/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteExceptionRegistry.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteExceptionRegistry.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteExceptionRegistry.java index a56570a..8ad3348 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteExceptionRegistry.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteExceptionRegistry.java @@ -187,7 +187,7 @@ public class IgniteExceptionRegistry { */ public ExceptionInfo(long order, Throwable error, String msg, long threadId, String threadName, long time) { this.order = order; - this.error = VisorTaskUtils.wrap(error); + this.error = new VisorExceptionWrapper(error); this.threadId = threadId; this.threadName = threadName; this.time = time; http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ea12580d/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeDataCollectorTask.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeDataCollectorTask.java b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeDataCollectorTask.java index 7dbfd39..3b2d45c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeDataCollectorTask.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeDataCollectorTask.java @@ -88,7 +88,7 @@ public class VisorNodeDataCollectorTask extends VisorMultiNodeTask( - VisorTaskUtils.wrap(new SQLException("Fail to execute query. No metadata available.")), null); + new VisorExceptionWrapper(new SQLException("Fail to execute query. No metadata available.")), null); else { List names = new ArrayList<>(meta.size()); http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ea12580d/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorExceptionWrapper.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorExceptionWrapper.java b/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorExceptionWrapper.java index be6f63c..a2965d7 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorExceptionWrapper.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorExceptionWrapper.java @@ -18,7 +18,7 @@ package org.apache.ignite.internal.visor.util; /** - * Wrapper of exceptions for transferring to Visor with absent exception classes. + * Exception wrapper for safe for transferring to Visor. */ public class VisorExceptionWrapper extends Throwable { /** Detail message string of this throwable */