W3cubDocs

/Kotlin

NoSuchPropertyException

Platform and version requirements: JVM (1.1)
class NoSuchPropertyException : Exception

An exception that is thrown when the code tries to introspect a property of a class or a package and that class or the package no longer has that property.

Constructors

Platform and version requirements: JVM (1.0)

<init>

An exception that is thrown when the code tries to introspect a property of a class or a package and that class or the package no longer has that property.

NoSuchPropertyException(cause: Exception? = null)

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: JVM (1.0)

addSuppressed

When supported by the platform adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.

fun Throwable.addSuppressed(exception: Throwable)
Platform and version requirements: JVM (1.0)

printStackTrace

Prints the stack trace of this throwable to the standard output.

fun Throwable.printStackTrace()

Prints the stack trace of this throwable to the specified writer.

fun Throwable.printStackTrace(writer: PrintWriter)

Prints the stack trace of this throwable to the specified stream.

fun Throwable.printStackTrace(stream: PrintStream)

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.full/-no-such-property-exception/index.html