阅读(765) (0)

鸿蒙OS ObjectStreamException

2022-10-17 10:00:19 更新

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

构造函数摘要

修饰符 构造函数 描述
protected ObjectStreamException() 创建一个 ObjectStreamException。
protected ObjectStreamException(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。