You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by as...@apache.org on 2015/11/09 22:36:58 UTC

[07/50] [abbrv] incubator-geode git commit: Include nested exception

Include nested exception


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/030853b6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/030853b6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/030853b6

Branch: refs/heads/feature/GEODE-11
Commit: 030853b6c0a3983892b1326f0e2f442d74dcc13b
Parents: c9df12a
Author: Kirk Lund <kl...@pivotal.io>
Authored: Fri Oct 23 15:14:03 2015 -0700
Committer: Kirk Lund <kl...@pivotal.io>
Committed: Thu Oct 29 13:04:45 2015 -0700

----------------------------------------------------------------------
 .../java/com/gemstone/gemfire/distributed/LocatorLauncher.java     | 2 +-
 .../main/java/com/gemstone/gemfire/distributed/ServerLauncher.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/030853b6/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/LocatorLauncher.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/LocatorLauncher.java b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/LocatorLauncher.java
index 5fdd2c7..6846905 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/LocatorLauncher.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/LocatorLauncher.java
@@ -1906,7 +1906,7 @@ public final class LocatorLauncher extends AbstractLauncher<String> {
             gfJsonObject.getString(JSON_MEMBERNAME));
       }
       catch (GfJsonException e) {
-        throw new IllegalArgumentException("Unable to create LocatorStatus from JSON: ".concat(json));
+        throw new IllegalArgumentException("Unable to create LocatorStatus from JSON: ".concat(json), e);
       }
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/030853b6/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/ServerLauncher.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/ServerLauncher.java b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/ServerLauncher.java
index 4ff0c62..c991cc1 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/ServerLauncher.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/ServerLauncher.java
@@ -2484,7 +2484,7 @@ public final class ServerLauncher extends AbstractLauncher<String> {
       }
       catch (GfJsonException e) {
         // TODO: or should we return OFFLINE?
-        throw new IllegalArgumentException("Unable to create ServerStatus from JSON: " + json);
+        throw new IllegalArgumentException("Unable to create ServerStatus from JSON: " + json, e);
       }
     }