class AccessDeniedException : FileSystemException
An exception class which is used when we have not enough access for some operation.
An exception class which is used when we have not enough access for some operation.
AccessDeniedException( file: File, other: File? = null, reason: String? = null)
Returns an array of stack trace elements representing the stack trace pertaining to this throwable.
val Throwable.stackTrace: Array<StackTraceElement>
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.io/-access-denied-exception/index.html