FileDocCategorySizeDatePackage
OptionalDataException.javaAPI DocAndroid 1.5 API2154Wed May 06 22:41:04 BST 2009java.io

OptionalDataException

public class OptionalDataException extends ObjectStreamException
Signals that the {@link ObjectInputStream} class encountered a primitive type ({@code int}, {@code char} etc.) instead of an object instance in the input stream.
see
ObjectInputStream#available()
see
ObjectInputStream#readObject()
see
ObjectInputStream#skipBytes(int)
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
public boolean
eof
{@code true} indicates that there is no more primitive data available.
public int
length
The number of bytes of primitive data (int, char, long etc.) that are available.
Constructors Summary
OptionalDataException()
Constructs a new {@code OptionalDataException} with its stack trace filled in.

since
Android 1.0


                        
     
        super();
    
OptionalDataException(String detailMessage)
Constructs a new {@code OptionalDataException} with its stack trace and detail message filled in.

param
detailMessage the detail message for this exception.
since
Android 1.0

        super(detailMessage);
    
Methods Summary