
站在用户的角度思考问题,与客户深入沟通,找到大观网站设计与大观网站推广的解决方案,凭借多年的经验,让设计与互联网技术结合,创造个性化、用户体验好的作品,建站类型包括:成都网站建设、网站建设、企业官网、英文网站、手机端网站、网站推广、域名与空间、雅安服务器托管、企业邮箱。业务覆盖大观地区。
java.lang.Object
|---java.lang.Throwable
|---|---java.lang.Exception
|---|---|---java.io.IOException
|---|---|---|---java.io.ObjectStreamException
|---|---|---|---|---java.io.StreamCorruptedException
public class StreamCorruptedException
extends ObjectStreamException当从对象流中读取的控制信息违反内部一致性检查时抛出。
Since:
JDK1.1
| 构造函数 | 描述 |
|---|---|
| StreamCorruptedException() | 创建一个 StreamCorruptedException 并列出抛出的原因。 |
| StreamCorruptedException(String reason) | 创建一个 StreamCorruptedException 并列出抛出的原因。 |
| 从类 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 |
public StreamCorruptedException(String reason)
创建一个 StreamCorruptedException 并列出抛出的原因。
参数:
| 参数名称 | 参数描述 |
|---|---|
| reason | 描述异常原因的字符串。 |
public StreamCorruptedException()
创建一个 StreamCorruptedException 并列出抛出的原因。