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

StreamCorruptedException()

Create a StreamCorruptedException and list no reason why thrown.

StreamCorruptedException

StreamCorruptedException(reason: String!)

Create a StreamCorruptedException and list a reason why thrown.

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

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.