Throw expection
This commit is contained in:
@ -131,8 +131,7 @@ public abstract class GossipMember {
|
|||||||
jsonObject.put(JSON_HEARTBEAT, _heartbeat);
|
jsonObject.put(JSON_HEARTBEAT, _heartbeat);
|
||||||
return jsonObject;
|
return jsonObject;
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
e.printStackTrace();
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user