Package java.io
Interface ObjectInputValidation
public interface ObjectInputValidation
A callback interface for post-deserialization checks on objects. Allows, for
example, the validation of a whole graph of objects after all of them have
been loaded.
-
Method Summary
Modifier and Type Method Description voidvalidateObject()Validates this object.
-
Method Details
-
validateObject
Validates this object.- Throws:
InvalidObjectException- if this object fails to validate itself.
-