FreezingException

class FreezingException(toFreeze: Any, blocker: Any) : RuntimeException(source)

Exception thrown whenever freezing is not possible.

Since Kotlin

1.3

Parameters

toFreeze

an object intended to be frozen.

blocker

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

Constructors

Link copied to clipboard
fun FreezingException(toFreeze: Any, blocker: Any)

Properties

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

Extensions

Link copied to clipboard

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

Since Kotlin 1.3
Link copied to clipboard

Prints the detailed description of this throwable to the specified writer.

Since Kotlin 1.0

Prints the detailed description of this throwable to the specified stream.

Since Kotlin 1.0
Link copied to clipboard

Returns an array of stack trace elements representing the stack trace pertaining to this throwable.

Since Kotlin 1.0