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

ObjectStreamException

java.lang.Object

|—java.lang.Throwable

|—|—java.lang.Exception

|—|—|—java.io.IOException

|—|—|—|—java.io.ObjectStreamException

public abstract class ObjectStreamException
extends IOException

特定于对象流类的所有异常的超类。

Since:

JDK1.1

构造函数摘要

修饰符构造函数描述
protectedObjectStreamException()创建一个 ObjectStreamException。
protectedObjectStreamException(String classname)使用指定的参数创建 ObjectStreamException。

方法总结

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

构造函数详细信息

ObjectStreamException

protected ObjectStreamException(String classname)

使用指定的参数创建 ObjectStreamException。

参数:

参数名称参数描述
classname异常的详细信息

ObjectStreamException

protected ObjectStreamException()

创建一个 ObjectStreamException。

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

(0)
运维的头像运维
上一篇2025-03-25 06:17
下一篇 2025-03-25 06:18

相关推荐

发表回复

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