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 14F7117A3B for ; Tue, 9 Jun 2015 12:30:26 +0000 (UTC) Received: (qmail 68763 invoked by uid 500); 9 Jun 2015 12:30:23 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 68734 invoked by uid 500); 9 Jun 2015 12:30:23 -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 68725 invoked by uid 99); 9 Jun 2015 12:30:22 -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 12:30:22 +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 12:28:11 +0000 Received: (qmail 66219 invoked by uid 99); 9 Jun 2015 12:29:54 -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 12:29:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0B299E022E; Tue, 9 Jun 2015 12:29:54 +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 12:30:21 -0000 Message-Id: <50408508fdad4aa2a1e2bb033db5ec68@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [29/40] 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/0eee664c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0eee664c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0eee664c Branch: refs/heads/ignite-gg-10299 Commit: 0eee664c0e9a2a0376aa840a5aaf52d6f82a38be Parents: ea12580 Author: Andrey Authored: Tue Jun 9 11:11:32 2015 +0700 Committer: Andrey Committed: Tue Jun 9 11:11:32 2015 +0700 ---------------------------------------------------------------------- .../visor/util/VisorExceptionWrapper.java | 26 ++++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0eee664c/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 a2965d7..e253dcf 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 @@ -24,11 +24,11 @@ public class VisorExceptionWrapper extends Throwable { /** Detail message string of this throwable */ private String detailMsg; - /** Simple class name of original throwable */ - private String originalName; + /** Simple class name of base throwable object. */ + private String classSimpleName; - /** Full class name of original throwable */ - private String fullName; + /** Class name of base throwable object. */ + private String className; /** * Wrap throwable by presented on Visor throwable object. @@ -38,8 +38,8 @@ public class VisorExceptionWrapper extends Throwable { public VisorExceptionWrapper(Throwable cause) { assert cause != null; - originalName = cause.getClass().getSimpleName(); - fullName = cause.getClass().getName(); + classSimpleName = cause.getClass().getSimpleName(); + className = cause.getClass().getName(); detailMsg = cause.getMessage(); @@ -53,17 +53,17 @@ public class VisorExceptionWrapper extends Throwable { } /** - * @return Simple name of base throwable object. + * @return Class simple name of base throwable object. */ - public String getOriginalName() { - return originalName; + public String getClassSimpleName() { + return classSimpleName; } /** - * @return Full name of base throwable object. + * @return Class name of base throwable object. */ - public String getFullName() { - return fullName; + public String getClassName() { + return className; } /** {@inheritDoc} */ @@ -73,6 +73,6 @@ public class VisorExceptionWrapper extends Throwable { /** {@inheritDoc} */ @Override public String toString() { - return (detailMsg != null) ? (fullName + ": " + detailMsg) : fullName; + return (detailMsg != null) ? (className + ": " + detailMsg) : className; } }