Most visited

Recently visited

Added in API level 1

StreamCorruptedException

public class StreamCorruptedException
extends ObjectStreamException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.io.ObjectStreamException
           ↳ java.io.StreamCorruptedException


从对象流读取的控制信息违反内部一致性检查时抛出。

Summary

Public constructors

StreamCorruptedException(String reason)

创建一个StreamCorruptedException并列出抛出的原因。

StreamCorruptedException()

创建StreamCorruptedException并列出没有理由抛出。

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

StreamCorruptedException

Added in API level 1
StreamCorruptedException (String reason)

创建一个StreamCorruptedException并列出抛出的原因。

Parameters
reason String: String describing the reason for the exception.

StreamCorruptedException

Added in API level 1
StreamCorruptedException ()

创建StreamCorruptedException并列出没有理由抛出。

Hooray!