加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090321140115/http://developer.android.com:80/reference/java/io/StreamCorruptedException.html
public class

StreamCorruptedException

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

Class Overview

When readObject() cannot read an object from the input stream due to missing information (cyclic reference that doesn't match previous instance or missing class descriptor for instance to be loaded) this type of exception is thrown.

Summary

Public Constructors
StreamCorruptedException()
Constructs a new instance of this class with its walkback filled in.
StreamCorruptedException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public StreamCorruptedException ()

Constructs a new instance of this class with its walkback filled in.

public StreamCorruptedException (String detailMessage)

Constructs a new instance of this class with its walkback and message filled in.

Parameters
detailMessage the detail message for the exception.