OperationExecuteException
java.lang.Object
|—java.lang.Throwable
|—|—java.lang.Exception
|—|—|—ohos.aafwk.ability.OperationExecuteException
& public class OperationExecuteException
& extends Exception
描述在使用数据模板的能力中发生操作执行异常时引发的异常。 这个类是Exception的子类。
构造函数摘要
| 构造函数 | 描述 |
|---|---|
| OperationExecuteException() | 用于创建 OperationExecuteException 实例的无参数构造函数。 |
| OperationExecuteException(String msg) | 用于创建 OperationExecuteException 实例的参数化构造函数。 |
方法总结
| 从 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 |
构造函数详细信息
OperationExecuteException
public OperationExecuteException()
用于创建 OperationExecuteException 实例的无参数构造函数。
OperationExecuteException
public OperationExecuteException(String msg)
用于创建 OperationExecuteException 实例的参数化构造函数。
参数:
| 参数名称 | 参数描述 |
|---|---|
| msg | 表示异常的详细信息。 |

国外主机测评 - 国外VPS,国外服务器,国外云服务器,测评及优惠码














