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 836ED18C46 for ; Wed, 10 Jun 2015 09:45:56 +0000 (UTC) Received: (qmail 46767 invoked by uid 500); 10 Jun 2015 09:45:56 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 46737 invoked by uid 500); 10 Jun 2015 09:45:56 -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 46728 invoked by uid 99); 10 Jun 2015 09:45:56 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 09:45:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DB11FC095F for ; Wed, 10 Jun 2015 09:45:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.771 X-Spam-Level: X-Spam-Status: No, score=0.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xlcj87cZy-e3 for ; Wed, 10 Jun 2015 09:45:48 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id D85C447C31 for ; Wed, 10 Jun 2015 09:45:32 +0000 (UTC) Received: (qmail 44695 invoked by uid 99); 10 Jun 2015 09:45: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; Wed, 10 Jun 2015 09:45:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 96168E0428; Wed, 10 Jun 2015 09:45: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: Wed, 10 Jun 2015 09:46:04 -0000 Message-Id: <441062f7613d4823809ab70fa3022d09@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [34/50] incubator-ignite git commit: # ignite-992 Review. # 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-sprint-6 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; } }