# BufferOverflowException

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

# BufferOverflowException

```
open class BufferOverflowException : RuntimeException
```

|---|---|---|---|----------------------------------------------------------------------------------------------------------------------|
| [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.nio.BufferOverflowException](https://developer.android.com/reference/kotlin/java/nio/BufferOverflowException#) |

Unchecked exception thrown when a relative*put*operation reaches the target buffer's limit.

## Summary

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

## Public constructors

### BufferOverflowException

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

```
BufferOverflowException()
```

Constructs an instance of this class.