NoWhenBranchMatchedException
Platform and version requirements:
open class NoWhenBranchMatchedException : RuntimeExceptionDeprecated: This exception type is not supposed to be thrown or caught in common code and will be removed from kotlin-stdlib-common soon.
Platform and version requirements: JVM (1.0), JS (1.1), Native (1.3)
open class NoWhenBranchMatchedException : RuntimeException
Constructors
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
<init>
<init>()
<init>(message: String?)
<init>(message: String?, cause: Throwable?)
<init>(cause: Throwable?)
Extension Properties
Platform and version requirements: JVM (1.0)
stackTrace
Returns an array of stack trace elements representing the stack trace pertaining to this throwable.
val Throwable.stackTrace: Array<StackTraceElement>
Extension Functions
Platform and version requirements: Native (1.3)
getStackTraceAddresses
Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.
fun Throwable.getStackTraceAddresses(): List<Long>
Platform and version requirements: JVM (1.0)
printStackTrace
Prints the detailed description of this throwable to the specified writer.
fun Throwable.printStackTrace(writer: PrintWriter)
Prints the detailed description of this throwable to the specified stream.
fun Throwable.printStackTrace(stream: PrintStream)
© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-no-when-branch-matched-exception/index.html