# ClosedFileSystemException

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# ClosedFileSystemException

```
open class ClosedFileSystemException : IllegalStateException
```

|---|---|---|---|---|------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                 ||||||
| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)                                                  |||||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/kotlin/java/lang/Exception.html#)                                             ||||
|   |   | ↳ | [java.lang.RuntimeException](https://developer.android.com/reference/kotlin/java/lang/RuntimeException.html#)                            |||
|   |   |   | ↳ | [java.lang.IllegalStateException](https://developer.android.com/reference/kotlin/java/lang/IllegalStateException.html#)               ||
|   |   |   |   | ↳ | [java.nio.file.ClosedFileSystemException](https://developer.android.com/reference/kotlin/java/nio/file/ClosedFileSystemException#) |

Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.

## Summary

|                                                                                     Public constructors                                                                                      ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [ClosedFileSystemException](https://developer.android.com/reference/kotlin/java/nio/file/ClosedFileSystemException#ClosedFileSystemException())`()` Constructs an instance of this class. |

## Public constructors

### ClosedFileSystemException

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
ClosedFileSystemException()
```

Constructs an instance of this class.