创新互联鸿蒙OS教程:鸿蒙OS InternalError

InternalError

成都创新互联咨询电话:13518219792,为您提供成都网站建设网页设计及定制高端网站建设服务,成都创新互联网页制作领域十多年,包括成都小搅拌车等多个领域拥有丰富的营销推广经验,选择成都创新互联,为企业锦上添花。

java.lang.Object

|---java.lang.Throwable

|---|---java.lang.Error

|---|---|---java.lang.VirtualMachineError

|---|---|---|---java.lang.InternalError

public class InternalError
extends VirtualMachineError

抛出表示 Java 虚拟机中发生了一些意外的内部错误。

构造函数摘要

构造函数描述
InternalError()构造一个不带详细消息的 InternalError。
InternalError(String message)使用指定的详细消息构造一个 InternalError。
InternalError(String message, Throwable cause)使用指定的详细消息和原因构造一个 InternalError。
InternalError(Throwable cause)构造具有指定原因的 InternalError 和 (cause==null ? null : cause.toString()) 的详细消息(通常包含原因的类和详细消息)。

方法总结

从类 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

构造函数详细信息

InternalError

public InternalError()

构造一个不带详细消息的 InternalError。

InternalError

public InternalError(String message)

使用指定的详细消息构造一个 InternalError。

参数:

参数名称参数描述
message详细信息。

InternalError

public InternalError(String message, Throwable cause)

使用指定的详细消息和原因构造一个 InternalError。

请注意,与原因相关的详细消息不会自动合并到此错误的详细消息中。

参数:

参数名称参数描述
message详细消息(保存以供 Throwable.getMessage() 方法稍后检索)。
cause原因(由 Throwable.getCause() 方法保存以供以后检索)。 (允许使用空值,表示原因不存在或未知。)

InternalError

public InternalError(Throwable cause)

构造具有指定原因的 InternalError 和 (cause==null ? null : cause.toString()) 的详细消息(通常包含原因的类和详细消息)。

参数:

参数名称参数描述
cause原因(由 Throwable.getCause() 方法保存以供以后检索)。 (允许使用空值,表示原因不存在或未知。)

文章题目:创新互联鸿蒙OS教程:鸿蒙OS InternalError
转载注明:http://www.shufengxianlan.com/qtweb/news40/213690.html

网站建设、网络推广公司-创新互联,是专注品牌与效果的网站制作,网络营销seo公司;服务项目有等

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联