InvalidObjectException | java.io |
Java 1.1 | serializable checked |
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.
![](http://87.249.105.167/mirror/javainanutshell/0596007736/images/0596007736/figs/java.io.InvalidObjectException.gif;389354)
public class InvalidObjectException extends ObjectStreamException {
// Public Constructors
public InvalidObjectException(String reason);
}
Thrown By
ObjectInputStream.registerValidation( ),
ObjectInputValidation.validateObject( ),
java.text.AttributedCharacterIterator.Attribute.readResolve(
), java.text.DateFormat.Field.readResolve(
), java.text.MessageFormat.Field.readResolve(
), java.text.NumberFormat.Field.readResolve(
)
|