Added in API level 1
ObjectInputValidation
interface ObjectInputValidation
java.io.ObjectInputValidation |
Callback interface to allow validation of objects within a graph. Allows an object to be called when a complete graph of objects has been deserialized.
Summary
Public methods | |
---|---|
abstract Unit |
Validates the object. |
Public methods
validateObject
Added in API level 1
abstract fun validateObject(): Unit
Validates the object.
Exceptions | |
---|---|
java.io.InvalidObjectException |
If the object cannot validate itself. |