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

Constructs an InvalidObjectException.

Public constructors

InvalidObjectException

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

Constructs an InvalidObjectException.

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