OptionalDataException


OptionalDataException java.io

Java 1.1 serializable checked

Thrown by the readObject( ) method of an ObjectInputStream when it encounters primitive type data where it expects object data. Despite the exception name , this data is not optional, and object deserialization is stopped .

Figure 9-42. java.io.OptionalDataException

 public class  OptionalDataException  extends ObjectStreamException {  // No Constructor   // Public Instance Fields  public boolean  eof  ;        public int  length  ;   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net