public class StreamCorruptedException
extends ObjectStreamException
| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.io.IOException | ||||
| ↳ | java.io.ObjectStreamException | ||||
| ↳ | java.io.StreamCorruptedException | ||||
从对象流读取的控制信息违反内部一致性检查时抛出。
Public constructors |
|
|---|---|
StreamCorruptedException(String reason) 创建一个StreamCorruptedException并列出抛出的原因。 |
|
StreamCorruptedException() 创建StreamCorruptedException并列出没有理由抛出。 |
|
Inherited methods |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
StreamCorruptedException (String reason)
创建一个StreamCorruptedException并列出抛出的原因。
| Parameters | |
|---|---|
reason |
String: String describing the reason for the exception. |
StreamCorruptedException ()
创建StreamCorruptedException并列出没有理由抛出。