java.util.Map.Entry comp;
try {
comp = (java.util.Map.Entry) obj;
}
catch (ClassCastException e) {
throw new SerializerException(
"wrong context: obj needs to be of type java.util.Map.Entry, but is: "
+ obj.getClass().getName());
}
if (null != comp) {