Added in API level 26
DirectoryIteratorException
class DirectoryIteratorException : ConcurrentModificationException
| kotlin.Any | |||||
| ↳ | kotlin.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | java.util.ConcurrentModificationException | ||||
| ↳ | java.nio.file.DirectoryIteratorException | ||||
Runtime exception thrown if an I/O error is encountered when iterating over the entries in a directory. The I/O error is retrieved as an IOException using the getCause() method.
Summary
| Public constructors | |
|---|---|
DirectoryIteratorException(cause: IOException!)Constructs an instance of this class. |
|
| Properties | |
|---|---|
| IOException? |
Returns the cause of this exception. |
Public constructors
DirectoryIteratorException
Added in API level 26
DirectoryIteratorException(cause: IOException!)
Constructs an instance of this class.
| Parameters | |
|---|---|
cause |
IOException!: the IOException that caused the directory iteration to fail |
| Exceptions | |
|---|---|
java.lang.NullPointerException |
if the cause is null |
Properties
cause
Added in API level 26
val cause: IOException?
Returns the cause of this exception.
| Return | |
|---|---|
IOException? |
the cause |