OptionalDataExceptionpublic class OptionalDataException extends ObjectStreamException Signals that the {@link ObjectInputStream} class encountered a primitive type
({@code int}, {@code char} etc.) instead of an object instance in the input
stream. |
Fields Summary |
---|
private static final long | serialVersionUID | public boolean | eof{@code true} indicates that there is no more primitive data available. | public int | lengthThe number of bytes of primitive data (int, char, long etc.) that are
available. |
Constructors Summary |
---|
OptionalDataException()Constructs a new {@code OptionalDataException} with its stack trace
filled in.
super();
| OptionalDataException(String detailMessage)Constructs a new {@code OptionalDataException} with its stack trace and
detail message filled in.
super(detailMessage);
|
|