IllegalPropertyDelegateAccessException

JVM
1.1
class IllegalPropertyDelegateAccessException : Exception
(source)

An exception that is thrown when getDelegate is invoked on a KProperty object that was not made accessible with isAccessible.

See Also

kotlin.reflect.KProperty0.getDelegate

kotlin.reflect.KProperty1.getDelegate

kotlin.reflect.KProperty2.getDelegate

kotlin.reflect.jvm.isAccessible

Constructors

JVM
1.0

<init>

An exception that is thrown when getDelegate is invoked on a KProperty object that was not made accessible with isAccessible.

IllegalPropertyDelegateAccessException(
    cause: IllegalAccessException)

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

printStackTrace

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

fun Throwable.printStackTrace(writer: PrintWriter)

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

fun Throwable.printStackTrace(stream: PrintStream)