protected Object internalDeserialize(PofReader in) throws IOException {
PofSerializer format = null;
try {
Class<?> type = in.getPofContext().getClass(in.getUserTypeId());
format = getClassCodec(type);
Object result = resolve(format.deserialize(in));
return result;
}
catch(IOException e) {
throw new IOException("Deserialization failed, format " + format, e);
}