EOFException

expect open class EOFException(message: String) : IOException(source)

Thrown when the end of a binary sequence is reached earlier than expected while reading.

In the JVM, this is an alias for java.io.EOFException. On other platforms, a placeholder class exists.

actual typealias EOFException = EOFException
actual open class EOFException(message: String) : IOException(source)

Constructors

Link copied to clipboard
expect fun EOFException(message: String)
actual fun EOFException(message: String)

Properties

cause
Link copied to clipboard
open val cause: Throwable?
open val cause: Throwable?
message
Link copied to clipboard
open val message: String?
open val message: String?