open class InvalidObjectException : ObjectStreamException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.io.IOException
   ↳ java.io.ObjectStreamException
   ↳ java.io.InvalidObjectException

Indicates that one or more deserialized objects failed validation tests. The argument should provide the reason for the failure.

Summary

Public constructors

Constructs an InvalidObjectException.

Public constructors

InvalidObjectException

InvalidObjectException(reason: String!)

Constructs an InvalidObjectException.

Parameters
reason String!: Detailed message explaining the reason for the failure.

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.