diff --git a/api/@ohos.util.ArrayList.d.ts b/api/@ohos.util.ArrayList.d.ts index 47d6fd520..6aa9e74fc 100644 --- a/api/@ohos.util.ArrayList.d.ts +++ b/api/@ohos.util.ArrayList.d.ts @@ -42,7 +42,7 @@ declare class ArrayList { * any subsequent elements to the right (adds one to their index). * @param index index at which the specified element is to be inserted * @param element element to be inserted - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 10200011 - The insert method cannot be bound. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 @@ -73,7 +73,7 @@ declare class ArrayList { * delete the element, and move the index of all elements to the right of the element forward by one. * @param index the index in the arraylist * @returns the T type ,returns undefined if arraylist is empty,If the index is - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 10200011 - The removeByIndex method cannot be bound. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 @@ -105,7 +105,7 @@ declare class ArrayList { * Removes from this arraylist all of the elements whose index is between fromIndex,inclusive,and toIndex ,exclusive. * @param fromIndex The starting position of the index, containing the value at that index position * @param toIndex the end of the index, excluding the value at that index - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of fromIndex or toIndex is out of range. * @throws { BusinessError } 10200011 - The removeByRange method cannot be bound. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 @@ -163,7 +163,7 @@ declare class ArrayList { * Returns a view of the portion of this arraylist between the specified fromIndex,inclusive,and toIndex,exclusive * @param fromIndex The starting position of the index, containing the value at that index position * @param toIndex the end of the index, excluding the value at that index - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of fromIndex or toIndex is out of range. * @throws { BusinessError } 10200011 - The subArrayList method cannot be bound. * @throws { BusinessError } 401 - The type of parameters are invalid. diff --git a/api/@ohos.util.LightWeightMap.d.ts b/api/@ohos.util.LightWeightMap.d.ts index 9d8ef0351..73232158f 100644 --- a/api/@ohos.util.LightWeightMap.d.ts +++ b/api/@ohos.util.LightWeightMap.d.ts @@ -112,7 +112,7 @@ declare class LightWeightMap { * @param index Target subscript for search * @returns the key of key-value pairs * @throws { BusinessError } 10200011 - The getKeyAt method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang @@ -177,7 +177,7 @@ declare class LightWeightMap { * @param value Updated the target mapped value * @returns the boolean type(Is there a value corresponding to the subscript) * @throws { BusinessError } 10200011 - The setValueAt method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang @@ -212,7 +212,7 @@ declare class LightWeightMap { * @param index Target subscript for search * @returns the value of key-value pairs * @throws { BusinessError } 10200011 - The getValueAt method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang diff --git a/api/@ohos.util.LightWeightSet.d.ts b/api/@ohos.util.LightWeightSet.d.ts index 6ce6e87ea..af6072fba 100644 --- a/api/@ohos.util.LightWeightSet.d.ts +++ b/api/@ohos.util.LightWeightSet.d.ts @@ -80,7 +80,7 @@ declare class LightWeightSet { * @param minimumCapacity Minimum capacity to be reserved * @throws { BusinessError } 10200011 - The increaseCapacityTo method cannot be bound. * @throws { BusinessError } 401 - The type of parameters are invalid. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of minimumCapacity is out of range. * @since 8 * @syscap SystemCapability.Utils.Lang */ diff --git a/api/@ohos.util.LinkedList.d.ts b/api/@ohos.util.LinkedList.d.ts index e338efc56..c5af7976c 100644 --- a/api/@ohos.util.LinkedList.d.ts +++ b/api/@ohos.util.LinkedList.d.ts @@ -42,7 +42,7 @@ declare class LinkedList { * @param element element to be inserted * @throws { BusinessError } 10200011 - The insert method cannot be bound. * @throws { BusinessError } 401 - The type of parameters are invalid. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @since 8 * @syscap SystemCapability.Utils.Lang */ @@ -110,7 +110,7 @@ declare class LinkedList { * out of bounds (greater than or equal to length or less than 0), throw an exception * @throws { BusinessError } 10200011 - The removeByIndex method cannot be bound. * @throws { BusinessError } 401 - The type of parameters are invalid. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @since 8 * @syscap SystemCapability.Utils.Lang */ @@ -184,7 +184,7 @@ declare class LinkedList { * @param index index to find * @returns the T type ,returns undefined if linkedList is empty * @throws { BusinessError } 10200011 - The set method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang diff --git a/api/@ohos.util.List.d.ts b/api/@ohos.util.List.d.ts index ed3ff3d13..c12f8ac09 100644 --- a/api/@ohos.util.List.d.ts +++ b/api/@ohos.util.List.d.ts @@ -41,7 +41,7 @@ declare class List { * @param index index at which the specified element is to be inserted * @param element element to be inserted * @throws { BusinessError } 10200011 - The insert method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang @@ -83,7 +83,7 @@ declare class List { * @returns the T type ,returns undefined if list is empty,If the index is * out of bounds (greater than or equal to length or less than 0), throw an exception * @throws { BusinessError } 10200011 - The removeByIndex method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang @@ -134,7 +134,7 @@ declare class List { * @param index index to find * @returns the T type * @throws { BusinessError } 10200011 - The set method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang @@ -193,7 +193,7 @@ declare class List { * @param fromIndex The starting position of the index, containing the value at that index position * @param toIndex the end of the index, excluding the value at that index * @throws { BusinessError } 10200011 - The getSubList method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of fromIndex or toIndex is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang diff --git a/api/@ohos.util.PlainArray.d.ts b/api/@ohos.util.PlainArray.d.ts index 1d41440ce..46caaf920 100644 --- a/api/@ohos.util.PlainArray.d.ts +++ b/api/@ohos.util.PlainArray.d.ts @@ -134,7 +134,7 @@ declare class PlainArray { * @param size Expected deletion quantity * @returns Actual deleted quantity * @throws { BusinessError } 10200011 - The removeRangeFrom method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang @@ -145,7 +145,7 @@ declare class PlainArray { * @param index Target subscript for search * @param value Updated the target mapped value * @throws { BusinessError } 10200011 - The setValueAt method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang @@ -163,7 +163,7 @@ declare class PlainArray { * @param index Target subscript for search * @returns the value of key-value pairs * @throws { BusinessError } 10200011 - The getValueAt method cannot be bound. - * @throws { BusinessError } 10200001 - The type of parameters are out of range. + * @throws { BusinessError } 10200001 - The value of index is out of range. * @throws { BusinessError } 401 - The type of parameters are invalid. * @since 8 * @syscap SystemCapability.Utils.Lang