W3cubDocs

/Kotlin

IllegalCallableAccessException

class IllegalCallableAccessException : 
    IllegalCallableAccessException

Platform and version requirements: Kotlin 1.1, JVM

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

<init>

IllegalCallableAccessException(cause: IllegalAccessException)

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.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.full/-illegal-callable-access-exception/