Added in API level 1

StreamCorruptedException

open class StreamCorruptedException : ObjectStreamException
kotlin.Any
   โ†ณ kotlin.Throwable
   โ†ณ java.lang.Exception
   โ†ณ java.io.IOException
   โ†ณ java.io.ObjectStreamException
   โ†ณ java.io.StreamCorruptedException

Thrown when control information that was read from an object stream violates internal consistency checks.

Summary

Public constructors

Create a StreamCorruptedException and list no reason why thrown.

Create a StreamCorruptedException and list a reason why thrown.

Public constructors

StreamCorruptedException

Added in API level 1
StreamCorruptedException()

Create a StreamCorruptedException and list no reason why thrown.

StreamCorruptedException

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

Create a StreamCorruptedException and list a reason why thrown.

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