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 | |
|---|---|
|
Constructor to create a new NotActiveException without a reason. |
|
NotActiveException(reason: String!)Constructor to create a new NotActiveException with the reason given. |
|
Public constructors
NotActiveException
Added in API level 1
NotActiveException()
Constructor to create a new NotActiveException without a reason.
NotActiveException
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. |