Package java.io

Class OptionalDataException

extends ObjectStreamExceptionIOExceptionExceptionThrowableObject
implements Serializable

Unexpected data appeared in an ObjectInputStream trying to read an Object. Occurs when the stream contains primitive data instead of the object that is expected by readObject. The EOF flag in the exception is true indicating that no more primitive data is available. The count field contains the number of bytes available to read.

_INSERT_CONSTRUCTOR_ENTRY_HERE_

_INSERT_METHOD_ENTRY_HERE_

Methods inherited from java.lang.Throwable

Methods inherited from java.lang.Object

_INSERT_INHERITED_METHOD_ENTRY_HERE_

Public Fields

  • boolean eof
  • int length

_INSERT_FIELDS_ENTRY_HERE_