Google is committed to advancing racial equity for Black communities. See how.
Added in API level 1

InvalidObjectException

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

<init>(reason: String!)

Constructs an InvalidObjectException.

Public constructors

<init>

Added in API level 1
InvalidObjectException(reason: String!)

Constructs an InvalidObjectException.

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