deserializedObject = deserializeFromByteArray(serializedByteValue, objectTypeName);
} catch (Exception e) {
throw new ProcessEngineException("Cannot deserialize object in variable '"+valueFields.getName()+"': "+e.getMessage(), e);
}
}
ObjectValueImpl objectValue = new ObjectValueImpl(deserializedObject, serializedStringValue, serializationDataFormat, objectTypeName, true);
if(deserializedObject != null) {
dirtyCheckOnFlush(deserializedObject, serializedByteValue, valueFields);
}
return objectValue;
}
else {
return new ObjectValueImpl(null, serializedStringValue, serializationDataFormat, objectTypeName, false);
}
}