Android
java.io
public class

java.io.OptionalDataException

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

When readObject() encounters primitive types (int, char, etc) instead of an object instance in the input stream, this type of exception will be thrown.

Summary

Fields

public      boolean  eof  If true it means there is no more primitive data available. 
public      int  length  Number of bytes of primitive data (int, char, long, etc). 
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Fields

public boolean eof

If true it means there is no more primitive data available.

public int length

Number of bytes of primitive data (int, char, long, etc).
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48