git-svn-id: https://samskivert.googlecode.com/svn/trunk@1884 6335cc39-0255-0410-8fd6-9bcaacd3b74c

This commit is contained in:
ray
2006-08-08 20:07:47 +00:00
parent 652ad810f4
commit 4fcc4a60eb
@@ -276,19 +276,6 @@ public class StringUtil
return _ffmt.format(value);
}
/**
* Get the message in the specified throwable, or the short class
* name if there is no message.
*/
public static String getMessage (Throwable t)
{
String msg = t.getMessage();
if (msg == null) {
msg = shortClassName(t);
}
return msg;
}
/**
* Converts the supplied object to a string. Normally this is
* accomplished via the object's built in <code>toString()</code>