question: public static void handleTypeMismatchError ( XMLSerializer serializer , Object parentObject , String fieldName , Object childObject ) throws AbortSerializationException { ValidationEvent ve = new ValidationEventImpl ( ValidationEvent . ERROR , Messages . format ( Messages . ERR_TYPE_MISMATCH , getUserFriendlyTypeName ( parentObject ) , fieldName , getUserFriendlyTypeName ( childObject ) ) , new ValidationEventLocatorExImpl ( parentObject , fieldName ) ) ; serializer . reportError ( ve ) ; }
target:  Reports that the type of an object in a property is unexpected.  