diff --git a/api/@ohos.data.distributedDataObject.d.ts b/api/@ohos.data.distributedDataObject.d.ts index a819afd18e444dbc4232b65cba4ca2671b8b4836..ceabe36b51fc8457c2012b33a15b8be04e3c5be5 100644 --- a/api/@ohos.data.distributedDataObject.d.ts +++ b/api/@ohos.data.distributedDataObject.d.ts @@ -291,7 +291,8 @@ declare namespace distributedDataObject { * @param {AsyncCallback} callback - The callback of setSessionId. * @throws {BusinessError} 201 - Permission verification failed. * @throws {BusinessError} 401 - Parameter error. Incorrect parameter types. - * @throws {BusinessError} 15400001 - Failed to create the in-memory database. + * @throws {BusinessError} 15400001 - Failed to create the in-memory database. The possible reason is that + * other distributed data object has already set the same sessionId. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject * @since 9 */ @@ -304,7 +305,8 @@ declare namespace distributedDataObject { * @throws {BusinessError} 201 - Permission verification failed. * @throws {BusinessError} 401 - Parameter error. Possible causes: 1. Incorrect parameter types; * 2. The sessionId allows only letters, digits, and underscores(_), and cannot exceed 128 in length. - * @throws {BusinessError} 15400001 - Failed to create the in-memory database. + * @throws {BusinessError} 15400001 - Failed to create the in-memory database. The possible reason is that + * other distributed data object has already set the same sessionId. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject * @since 12 */ @@ -317,7 +319,8 @@ declare namespace distributedDataObject { * @param {AsyncCallback} callback - The callback of setSessionId. * @throws {BusinessError} 201 - Permission verification failed. * @throws {BusinessError} 401 - Parameter error. Incorrect parameter types. - * @throws {BusinessError} 15400001 - Failed to create the in-memory database. + * @throws {BusinessError} 15400001 - Failed to create the in-memory database. The possible reason is that + * other distributed data object has already set the same sessionId. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject * @since 9 */ @@ -340,7 +343,8 @@ declare namespace distributedDataObject { * @returns {Promise} - The promise returned by the function. * @throws {BusinessError} 201 - Permission verification failed. * @throws {BusinessError} 401 - Parameter error. Incorrect parameter types. - * @throws {BusinessError} 15400001 - Failed to create the in-memory database. + * @throws {BusinessError} 15400001 - Failed to create the in-memory database. The possible reason is that + * other distributed data object has already set the same sessionId. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject * @since 9 */ @@ -353,7 +357,8 @@ declare namespace distributedDataObject { * @throws {BusinessError} 201 - Permission verification failed. * @throws {BusinessError} 401 - Parameter error. Possible causes: 1. Incorrect parameter types; * 2. The sessionId allows only letters, digits, and underscores(_), and cannot exceed 128 in length. - * @throws {BusinessError} 15400001 - Failed to create the in-memory database. + * @throws {BusinessError} 15400001 - Failed to create the in-memory database. The possible reason is that + * other distributed data object has already set the same sessionId. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject * @since 12 */