diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 07a6f1a100abd426314f41e8990230a13df57d85..449ee1e20513a414df4f70f14599791d35c12504 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -4297,12 +4297,12 @@ declare namespace window { * * @param { ShowWindowOptions } options - options of window shown * @returns { Promise } Promise that returns no value. - * @throws { BusinessError } 401 - Parameter error. Possible cause: 1. Mandatory parameters are left unspecified; - * 2. Incorrect parameter types; - * 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. Function showWindow can not work correctly due to limited device capabilities. * @throws { BusinessError } 1300002 - This window state is abnormal. * @throws { BusinessError } 1300004 - Unauthorized operation. + * @throws { BusinessError } 1300016 - Parameter validation error. Possible cause: 1. The value of the parameter is out of the allowed range; + * 2. The length of the parameter exceeds the allowed length; + * 3. The parameter format is incorrect. * @syscap SystemCapability.Window.SessionManager * @atomicservice * @since 20 @@ -9621,7 +9621,7 @@ declare namespace window { * Get the zlevel of current sub window. * * @returns { number } - the zlevel of current sub window. - * @throws { BusinessError } 801 - Capability not supported. Function setSubWindowZLevel can not work correctly due to limited device capabilities. + * @throws { BusinessError } 801 - Capability not supported. Function getSubWindowZLevel can not work correctly due to limited device capabilities. * @throws { BusinessError } 1300002 - This window state is abnormal. * @throws { BusinessError } 1300004 - Unauthorized operation. * @syscap SystemCapability.Window.SessionManager