UninitializedPropertyAccessException

Common
1.0
class UninitializedPropertyAccessException : RuntimeException
Deprecated: This exception type is not supposed to be thrown or caught in common code and will be removed from kotlin-stdlib-common soon.
JVM
1.0
class UninitializedPropertyAccessException : RuntimeException
JS
Native
1.1
open class UninitializedPropertyAccessException : 
    RuntimeException

Constructors

Common
JVM
JS
Native
1.0

<init>

<init>()
<init>(message: String?)
<init>(message: String?, cause: Throwable?)
<init>(cause: Throwable?)

Extension Properties

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

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)
Native
1.3

getStackTraceAddresses

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

fun Throwable.getStackTraceAddresses(): List<Long>
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)