getRectangleById 补充抛异常说明100001

Signed-off-by: huqingyun <huqingyun1@huawei.com>
Change-Id: Ie4b49a8919b0d5c1afcf8a0ce44eb6e46653332f
This commit is contained in:
huqingyun 2024-08-19 06:20:00 +00:00
parent bef1fdcc36
commit cc2a5256bf
2 changed files with 4 additions and 0 deletions

View File

@ -1813,6 +1813,7 @@ export class ComponentUtils {
*
* @param { string } id - ID of the component whose attributes are to be obtained.
* @returns { componentUtils.ComponentInfo } the object of ComponentInfo.
* @throws { BusinessError } 100001 - UI execution context not found.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 10
*/
@ -1821,6 +1822,7 @@ export class ComponentUtils {
*
* @param { string } id - ID of the component whose attributes are to be obtained.
* @returns { componentUtils.ComponentInfo } the object of ComponentInfo.
* @throws { BusinessError } 100001 - UI execution context not found.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
* @since 11

View File

@ -827,6 +827,7 @@ declare namespace componentUtils {
* Provide the ability to obtain the coordinates and size of component drawing areas.
* @param {string} id - component id.
* @returns {ComponentInfo} the object of ComponentInfo.
* @throws { BusinessError } 100001 - UI execution context not found.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
@ -835,6 +836,7 @@ declare namespace componentUtils {
* Provide the ability to obtain the coordinates and size of component drawing areas.
* @param {string} id - component id.
* @returns {ComponentInfo} the object of ComponentInfo.
* @throws { BusinessError } 100001 - UI execution context not found.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice