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

NotActiveException

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

Thrown when serialization or deserialization is not active.

Summary

Public constructors
<init>(reason: String!)

Constructor to create a new NotActiveException with the reason given.

Constructor to create a new NotActiveException without a reason.

Public constructors

<init>

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

Constructor to create a new NotActiveException with the reason given.

Parameters
reason String!: a String describing the reason for the exception.

<init>

Added in API level 1
NotActiveException()

Constructor to create a new NotActiveException without a reason.