Use our fancy toString().

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2260 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2007-11-28 00:02:06 +00:00
parent d534360150
commit a4931c3af3
+1 -1
View File
@@ -711,7 +711,7 @@ public class StringUtil
public static String safeToString (Object object)
{
try {
return object.toString();
return toString(object);
} catch (Throwable t) {
// We catch any throwable, even Errors. Someone is just trying to debug something,
// probably inside another catch block.