NullPointerException

Platform and version requirements: JS (1.1), Native (1.3)
open class NullPointerException : RuntimeException
Platform and version requirements: JVM (1.1)
typealias NullPointerException = NullPointerException

Constructors

Platform and version requirements: JS (1.0), Native (1.0)

<init>

<init>()
<init>(message: String?)

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>

Inheritors

Platform and version requirements: JVM (1.0)

KotlinNullPointerException

open class KotlinNullPointerException : NullPointerException

© 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/-null-pointer-exception/index.html