FreezingException

Native
1.3
class FreezingException : RuntimeException
(source)

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

Native
1.3

<init>

Exception thrown whenever freezing is not possible.

FreezingException(toFreeze: Any, blocker: Any)

Extension Functions

Native
1.3

getStackTraceAddresses

Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.

fun Throwable.getStackTraceAddresses(): List<Long>