All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.io.OptionalDataException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.io.IOException
                           |
                           +----java.io.ObjectStreamException
                                   |
                                   +----java.io.OptionalDataException

public class OptionalDataException
extends ObjectStreamException
This exception is thrown if readObject has optional data. Either the eof flag will be true or the length will be the number of bytes available to read.


Variable Index

 o eof
True if there is not more data in the buffered part of the stream.
 o length
The number of bytes available to be read in the current buffer.

Variables

 o length
 public int length
The number of bytes available to be read in the current buffer.

 o eof
 public boolean eof
True if there is not more data in the buffered part of the stream.


All Packages  Class Hierarchy  This Package  Previous  Next  Index