aicas logo Jamaica 3.4 release 8

java.io
Class OptionalDataException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.io.ObjectStreamException
                  extended by java.io.OptionalDataException
All Implemented Interfaces:
Serializable

public class OptionalDataException
extends ObjectStreamException

This exception is thrown when unexpected data appears in the input stream from which a serialized object is being read. There are two cases:

Since:
1.1
See Also:
Serialized Form
Status:
updated to 1.4

Field Summary
 boolean eof
          Whether or not the end of the stream has been reached.
 int length
          The number of valid bytes that can be read.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

eof

public boolean eof
Whether or not the end of the stream has been reached.


length

public int length
The number of valid bytes that can be read.


aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.