public interface ObjectInputValidation
ObjectInputStream
, ObjectInputStream.registerValidation(java.io.ObjectInputValidation, int)
Modifier and Type | Method and Description |
---|---|
void |
validateObject()
验证对象。
|
void validateObject() throws InvalidObjectException
InvalidObjectException
- 如果对象无法验证自身。