diff --git a/src/java/com/threerings/presents/dobj/DObject.java b/src/java/com/threerings/presents/dobj/DObject.java index b9119ced9..413e70760 100644 --- a/src/java/com/threerings/presents/dobj/DObject.java +++ b/src/java/com/threerings/presents/dobj/DObject.java @@ -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); } }