# GG-10606: diagnostic output.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/15541d70 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/15541d70 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/15541d70 Branch: refs/heads/ignite-gg-10606 Commit: 15541d7047f2b482ed8487687a82d86fb95c294e Parents: 7760847 Author: iveselovskiy <iveselovs...@gridgain.com> Authored: Mon Aug 17 14:03:28 2015 +0300 Committer: iveselovskiy <iveselovs...@gridgain.com> Committed: Mon Aug 17 14:03:28 2015 +0300 ---------------------------------------------------------------------- .../java/org/apache/ignite/internal/util/IgniteUtils.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/15541d70/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java index f8c4c7e..4faed0f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java @@ -5026,7 +5026,14 @@ public abstract class IgniteUtils { */ @Nullable public static String readString(DataInput in) throws IOException { // If value is not null, then read it. Otherwise return null. - return !in.readBoolean() ? in.readUTF() : null; + try { + return !in.readBoolean() ? in.readUTF() : null; + } catch (IOException ioe) { + // TODO: debug, remove later. + ioe.printStackTrace(); + + throw ioe; + } } /**