Added in API level 26

DirectoryNotEmptyException

open class DirectoryNotEmptyException : FileSystemException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.io.IOException
   ↳ java.nio.file.FileSystemException
   ↳ java.nio.file.DirectoryNotEmptyException

Checked exception thrown when a file system operation fails because a directory is not empty.

Summary

Public constructors

Constructs an instance of this class.

Inherited functions
Inherited properties

Public constructors

DirectoryNotEmptyException

Added in API level 26
DirectoryNotEmptyException(dir: String!)

Constructs an instance of this class.

Parameters
dir String!: a string identifying the directory or null if not known