1# ChangeLog of JS API Changes in the commonlibrary Subsystem 2 3Compared with OpenHarmony 3.2 Beta4, OpenHarmony 3.2.10.1(Mr) has the following API changes in the commonlibrary subsystem. 4 5## cl.commonlibrary.1 Error Code and Information Change 6Changed error codes and information returned by APIs of the **ArrayList**, **List**, **LinkedList**, **Stack**, **Queue**, **Deque**, **PlainArray**, **LightWeightMap**, **LightWeightSet**, **HashMap**, **HashSet**, **TreeMap**, and **TreeSet** classes in the commonlibrary subsystem. 7 8For details about the changed error codes, see [error codes of language basic class libraries](../../../application-dev/reference/errorcodes/errorcode-utils.md). 9 10No adaptation is required for applications developed using these APIs. 11 12**Key API/Component Changes** 13 14Error code information is redefined for APIs in these classes and marked using **'@throws'** in the `*.d.ts` file of the corresponding module. 15 16The sample code is as follows: 17 18**ArrayList** class before the change: 19 20constructor(); 21 22**ArrayList** class after the change: 23 24@throws { BusinessError } 10200012 - The ArrayList's constructor cannot be directly invoked. 25constructor(); 26 27**Change Impacts** 28 29None 30