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.