Use our fancy toString().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2260 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -711,7 +711,7 @@ public class StringUtil
|
|||||||
public static String safeToString (Object object)
|
public static String safeToString (Object object)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
return object.toString();
|
return toString(object);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
// We catch any throwable, even Errors. Someone is just trying to debug something,
|
// We catch any throwable, even Errors. Someone is just trying to debug something,
|
||||||
// probably inside another catch block.
|
// probably inside another catch block.
|
||||||
|
|||||||
Reference in New Issue
Block a user