W3cubDocs

/Kotlin

IllegalCallableAccessException

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

An exception that is thrown when call is invoked on a callable or get or set is invoked on a property and that callable is not accessible (in JVM terms) from the calling method.

Parameters

cause - the original exception thrown by the JVM.

See Also

kotlin.reflect.jvm.isAccessible

Constructors

Platform and version requirements: JVM (1.0)

<init>

An exception that is thrown when call is invoked on a callable or get or set is invoked on a property and that callable is not accessible (in JVM terms) from the calling method.

IllegalCallableAccessException(cause: IllegalAccessException)

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)

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)

© 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.reflect.full/-illegal-callable-access-exception/index.html