Let's use StringUtil.shortClassName() which handles null and also snips off the

package, since that's generally TMI anyway.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6173 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2010-10-05 20:27:31 +00:00
parent adf1f5af37
commit b73e76d19b
@@ -529,7 +529,7 @@ public class DObject
} catch (Exception e) {
String errmsg = "changeAttribute() failure [name=" + name + ", value=" + value +
", vclass=" + value.getClass().getName() + "].";
", vclass=" + StringUtil.shortClassName(value) + "].";
throw new ObjectAccessException(errmsg, e);
}
}
@@ -547,7 +547,7 @@ public class DObject
} catch (Exception e) {
String errmsg = "setAttribute() failure [name=" + name + ", value=" + value +
(value == null ? "" : ", vclass=" + value.getClass().getName()) + "].";
", vclass=" + StringUtil.shortClassName(value) + "].";
throw new ObjectAccessException(errmsg, e);
}
}