From db8dc8d4fa3c1583c64a3eb2c7054ae1670a239c Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Fri, 18 Oct 2013 03:06:37 +0000 Subject: [PATCH] Added a toString() method to DisconnectInfo. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10836 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/networking/com/jme3/network/ClientStateListener.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/src/networking/com/jme3/network/ClientStateListener.java b/engine/src/networking/com/jme3/network/ClientStateListener.java index 43d8ada8b..fc9ac6bfe 100644 --- a/engine/src/networking/com/jme3/network/ClientStateListener.java +++ b/engine/src/networking/com/jme3/network/ClientStateListener.java @@ -63,5 +63,10 @@ public interface ClientStateListener { public String reason; public Throwable error; + + @Override + public String toString() { + return "DisconnectInfo[" + reason + ", " + error + "]"; + } } }