CONTENTS | PREV | NEXT | Java Object Serialization Specification |
This interface allows an object to be called when a complete graph of objects has been deserialized. If the object cannot be made valid, it should throw the ObjectInvalidException. Any exception that occurs during a call tovalidateObject
will terminate the validation process, and the InvalidObjectException will be thrown.package java.io; public interface ObjectInputValidation { public void validateObject() throws InvalidObjectException; }