Skip to content

Add IOException constructor(message: Throwable?) #271

@martinkretzschmar

Description

@martinkretzschmar

IOException lacks the secondary constructor public constructor(message: Throwable?). The standard exceptions in the Kotlin stdlib and java.io.IOException (= the JVM actual) all have this constructor.

Would it be possible to add it?

Background: this would let us mechanically (without special casing this constructor) replace java.io.IOException with kotlinx.io.IOException as we migrate our codebase to KMP.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions