home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Java in a Nutshell

Previous Chapter 24
The java.io Package

24.32 java.io.InvalidObjectException (JDK 1.1)

This exception should be thrown by the validateObject() method of an object that implements the ObjectInputValidation interface when a deserialized object fails an input validation test for any reason.

public class InvalidObjectException extends ObjectStreamException {
    // Public Constructor
            public InvalidObjectException(String reason);



Thrown By:

ObjectInputStream.registerValidation(), ObjectInputValidation.validateObject()

Previous Home Next
java.io.InvalidClassException (JDK 1.1) Book Index java.io.IOException (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java