• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Common Library Subsystem Changelog
2
3## cl.commonlibrary.1 Error Code and Information Change
4The error codes and information returned by APIs of the **ArrayList**, **List**, **LinkedList**, **Stack**, **Queue**, **Deque**, **PlainArray**, **LightWeightMap**, **LightWeightSet**, **HashMap**, **HashSet**, **TreeMap**, and **TreeSet** classes are changed.
5
6For details about the changed error codes, see [Utils Error Codes](../../../application-dev/reference/errorcodes/errorcode-utils.md).
7
8No adaptation is required for applications developed using these APIs.
9
10**Key API/Component Changes**
11Error code information is redefined for APIs in these classes and marked using **'@throws'** in the *.d.ts file of the corresponding module.
12The sample code is as follows:
13**ArrayList** class before the change:
14constructor();
15**ArrayList** class after the change:
16@throws { BusinessError } 10200012 - The ArrayList's constructor cannot be directly invoked.
17constructor();
18
19**Change Impact**
20
21No impact.
22