Skip to content

Commit 1470894

Browse files
committed
...
1 parent 271281d commit 1470894

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/tools/jackson/databind/ValueSerializer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ public void serializeWithType(T value, JsonGenerator gen, SerializationContext c
265265
clz = value.getClass();
266266
}
267267
ctxt.reportBadDefinition(clz, String.format(
268-
"Type id handling not implemented for type %s (by serializer of type %s)",
269-
clz.getName(), getClass().getName()));
268+
"Type id handling (method `serializeWithType()`) not implemented for type %s (by serializer of type %s)",
269+
ClassUtil.nameOf(clz), ClassUtil.nameOf(getClass())));
270270
}
271271

272272
/*

0 commit comments

Comments
 (0)