Tuesday, March 10, 2015

OptionalDataException

com.sun.corba.se.impl.io.OptionalDataException

OptionalDataException is described in the javadoc comments as:

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.
author: unascribed version: 1.7, 11/02/98 since: JDK1.1

Where is this exception thrown?

Following, is a list of exception messages cross-referenced to the source code responsible for throwing them. Click on the method link to view the code and see how the exception is thrown.

  • OptionalDataException is not thrown within any available source code.

How is this exception thrown?

The following sub-sections identify where this exception is thrown, and how (or why) the code is throwing the exception.

Any source code quoted in this section is subject to the Java Research License unless stated otherwise.

  • OptionalDataException is not thrown within the available source code.

No comments:

Post a Comment