Stay organized with collections
Save and categorize content based on your preferences.
CoderMalfunctionError
open class CoderMalfunctionError : Error
Error thrown when the decodeLoop
method of a CharsetDecoder
, or the encodeLoop
method of a CharsetEncoder
, throws an unexpected exception.
Summary
Public constructors |
Initializes an instance of this class.
|
Public constructors
CoderMalfunctionError
CoderMalfunctionError(cause: Exception!)
Initializes an instance of this class.
Parameters |
cause |
Exception!: The unexpected exception that was thrown |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# CoderMalfunctionError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCoderMalfunctionError\n=====================\n\n```\nopen class CoderMalfunctionError : Error\n```\n\n|---|---|---|---------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) |||\n| | ↳ | [java.lang.Error](../../lang/Error.html#) ||\n| | | ↳ | [java.nio.charset.CoderMalfunctionError](#) |\n\nError thrown when the [decodeLoop](/reference/kotlin/java/nio/charset/CharsetDecoder#decodeLoop(java.nio.ByteBuffer,%20java.nio.CharBuffer)) method of a [CharsetDecoder](/reference/kotlin/java/nio/charset/CharsetDecoder), or the [encodeLoop](/reference/kotlin/java/nio/charset/CharsetEncoder#encodeLoop(java.nio.CharBuffer,%20java.nio.ByteBuffer)) method of a [CharsetEncoder](/reference/kotlin/java/nio/charset/CharsetEncoder), throws an unexpected exception.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CoderMalfunctionError](#CoderMalfunctionError(java.lang.Exception))`(`cause:` `[Exception](../../lang/Exception.html#)!`)` Initializes an instance of this class. |\n\nPublic constructors\n-------------------\n\n### CoderMalfunctionError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCoderMalfunctionError(cause: Exception!)\n```\n\nInitializes an instance of this class.\n\n| Parameters ||\n|---------|------------------------------------------------------------------------------------|\n| `cause` | [Exception](../../lang/Exception.html#)!: The unexpected exception that was thrown |"]]