# ParcelFileDescriptor.FileDescriptorDetachedException

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

# FileDescriptorDetachedException

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/os/ParcelFileDescriptor.FileDescriptorDetachedException "View this page in Java")  

```
open class FileDescriptorDetachedException : IOException
```

|---|---|---|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [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.io.IOException](https://developer.android.com/reference/kotlin/java/io/IOException.html#)                                                                                       ||
|   |   |   | ↳ | [android.os.ParcelFileDescriptor.FileDescriptorDetachedException](https://developer.android.com/reference/kotlin/android/os/ParcelFileDescriptor.FileDescriptorDetachedException#) |

Exception that indicates that the file descriptor was detached.

## Summary

|                                                                                        Public constructors                                                                                        ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [FileDescriptorDetachedException](https://developer.android.com/reference/kotlin/android/os/ParcelFileDescriptor.FileDescriptorDetachedException#FileDescriptorDetachedException())`()` <br /> |

## Public constructors

### FileDescriptorDetachedException

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

```
FileDescriptorDetachedException()
```