W3cubDocs

/Kotlin

FreezingException

Platform and version requirements: Native (1.3)
class FreezingException : RuntimeException

Exception thrown whenever freezing is not possible.

Parameters

toFreeze - an object intended to be frozen.

blocker - an object preventing freezing, usually one marked with ensureNeverFrozen earlier.

Constructors

Platform and version requirements: Native (1.3)

<init>

Exception thrown whenever freezing is not possible.

FreezingException(toFreeze: Any, blocker: Any)

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>

© 2010–2020 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.native.concurrent/-freezing-exception/index.html