harmony 鸿蒙Common Library Subsystem Changelog

  • 2023-06-24
  • 浏览 (396)

Common Library Subsystem Changelog

cl.commonlibrary.1 Error Code and Information Change

The 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.

For details about the changed error codes, see Utils Error Codes.

No adaptation is required for applications developed using these APIs.

Key API/Component Changes Error code information is redefined for APIs in these classes and marked using ’@throws’ in the *.d.ts file of the corresponding module. The sample code is as follows: ArrayList class before the change: constructor(); ArrayList class after the change: @throws { BusinessError } 10200012 - The ArrayList’s constructor cannot be directly invoked. constructor();

Change Impact

No impact.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙Example Subsystem Changelog

harmony 鸿蒙Ability Framework Changelog

harmony 鸿蒙Account Subsystem Changelog

harmony 鸿蒙ArkUI Subsystem ChangeLog

harmony 鸿蒙Multimedia Subsystem Changelog

harmony 鸿蒙Distributed Data Management Subsystem JS API Changelog

harmony 鸿蒙File Management Subsystem Changelog

harmony 鸿蒙Input Method Framework ChangeLog

harmony 鸿蒙File Management Subsystem Changelog

0  赞