interface 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

abstract fun validateObject(): Unit

Validates the object.

Exceptions
java.io.InvalidObjectException If the object cannot validate itself.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.