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 theInvalidObjectException
. Any exception that occurs during a call tovalidateObject
will terminate the validation process, and theInvalidObjectException
will be thrown.package java.io; public interface ObjectInputValidation { public void validateObject() throws InvalidObjectException; }