diff --git a/api/arkui/Graphics.d.ts b/api/arkui/Graphics.d.ts index a4f8edb2c6efa30edda77056a0348dd54f21543b..f8c43856f8c6c9adecd044820eaaa2f8ca371abc 100644 --- a/api/arkui/Graphics.d.ts +++ b/api/arkui/Graphics.d.ts @@ -909,8 +909,6 @@ declare class LengthMetrics { * * @param { Resource } value - The value of the length metrics. * @returns { LengthMetrics } Returns the lengthMetrics object with unit Resource. - * @throws { BusinessError } 180001 - System resources does not exist. - * @throws { BusinessError } 180002 - The type of system resources is incorrect. * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform diff --git a/api/arkui/Graphics.static.d.ets b/api/arkui/Graphics.static.d.ets index 237988027bb42dff4ae80d41a92b132eea0dcce0..958b186d47a73d47a24716613cb29d130ca58836 100644 --- a/api/arkui/Graphics.static.d.ets +++ b/api/arkui/Graphics.static.d.ets @@ -540,8 +540,6 @@ export declare class LengthMetrics { * * @param { Resource } value - The value of the length metrics. * @returns { LengthMetrics } Returns the lengthMetrics object with unit Resource. - * @throws { BusinessError } 180001 - System resources does not exist. - * @throws { BusinessError } 180002 - The type of system resources is incorrect. * @static * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20