后浪云鸿蒙OS教程:鸿蒙OS DataAbilityRemoteException

树叶云

DataAbilityRemoteException

java.lang.Object

|—java.lang.Throwable

|—|—java.lang.Exception

|—|—|—ohos.aafwk.ability.DataAbilityDeadException

|—|—|—|—ohos.aafwk.ability.DataAbilityRemoteException

& public class DataAbilityRemoteException
& extends DataAbilityDeadException

描述远程进程退出异常。 当被调用的远程进程退出时会抛出此异常。

构造函数摘要

构造函数描述
DataAbilityRemoteException(String msg)用于创建 DataAbilityRemoteException 实例的参数化构造函数。

方法总结

从 java.lang.Object 类继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从 java.lang.Throwable 类继承的方法
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

构造函数详细信息

DataAbilityRemoteException

public DataAbilityRemoteException(String msg)

用于创建 DataAbilityRemoteException 实例的参数化构造函数。

参数:

参数名称参数描述
msg表示异常信息

文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/193079.html<

(0)
运维的头像运维
上一篇2025-04-01 21:30
下一篇 2025-04-01 21:32

相关推荐

发表回复

您的邮箱地址不会被公开。必填项已用 * 标注