Android
java.io
public class

java.io.StreamCorruptedException

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

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.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48