geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [24/35] incubator-geode git commit: Include nested exception
Date Tue, 03 Nov 2015 19:38:56 GMT
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/develop
Commit: 030853b6c0a3983892b1326f0e2f442d74dcc13b
Parents: c9df12a
Author: Kirk Lund <klund@pivotal.io>
Authored: Fri Oct 23 15:14:03 2015 -0700
Committer: Kirk Lund <klund@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);
       }
     }
 


Mime
View raw message