<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.io.OptionalDataException
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.io.html">This Package</a>  <a href="java.io.ObjectStreamException.html#_top_">Previous</a>  <a href="java.io.StreamCorruptedException.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.io.OptionalDataException
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.lang.Throwable.html#_top_">java.lang.Throwable</a>
           |
           +----<a href="java.lang.Exception.html#_top_">java.lang.Exception</a>
                   |
                   +----<a href="java.io.IOException.html#_top_">java.io.IOException</a>
                           |
                           +----<a href="java.io.ObjectStreamException.html#_top_">java.io.ObjectStreamException</a>
                                   |
                                   +----java.io.OptionalDataException
</pre>
<hr>
<dl>
  <dt> public class <b>OptionalDataException</b>
  <dt> extends <a href="java.io.ObjectStreamException.html#_top_">ObjectStreamException</a>
</dl>
Unexpected data appeared in an ObjectInputStream trying to read
 an Object.
 This exception occurs when the stream contains primitive data
 instead of the object expected by readObject.
 The eof flag in the exception is true to indicate that no more
 primitive data is available.
 The count field contains the number of bytes available to read.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#eof"><b>eof</b></a>
  <dd>  True if there is no more data in the buffered part of the stream.
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#length"><b>length</b></a>
  <dd>  The number of bytes of primitive data available to be read
 in the current buffer.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="length"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>length</b>
<pre>
 public int length
</pre>
<dl>
  <dd> The number of bytes of primitive data available to be read
 in the current buffer.<p>
</dl>
<a name="eof"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>eof</b>
<pre>
 public boolean eof
</pre>
<dl>
  <dd> True if there is no more data in the buffered part of the stream.<p>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.io.html">This Package</a>  <a href="java.io.ObjectStreamException.html#_top_">Previous</a>  <a href="java.io.StreamCorruptedException.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
