Stay organized with collections
Save and categorize content based on your preferences.
CharConversionException
open class CharConversionException : IOException
Base class for character conversion exceptions.
Summary
Public constructors |
This provides no detailed message.
|
This provides a detailed message.
|
Public constructors
CharConversionException
CharConversionException()
This provides no detailed message.
CharConversionException
CharConversionException(s: String!)
This provides a detailed message.
Parameters |
s |
String!: the detailed message associated with the exception. |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# CharConversionException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCharConversionException\n=======================\n\n```\nopen class CharConversionException : IOException\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.Exception](../lang/Exception.html#) |||\n| | | ↳ | [java.io.IOException](/reference/kotlin/java/io/IOException) ||\n| | | | ↳ | [java.io.CharConversionException](#) |\n\nBase class for character conversion exceptions.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CharConversionException](#CharConversionException())`()` This provides no detailed message. |\n| [CharConversionException](#CharConversionException(kotlin.String))`(`s:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` This provides a detailed message. |\n\nPublic constructors\n-------------------\n\n### CharConversionException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCharConversionException()\n```\n\nThis provides no detailed message. \n\n### CharConversionException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCharConversionException(s: String!)\n```\n\nThis provides a detailed message.\n\n| Parameters ||\n|-----|----------------------------------------------------------------------------------------------------------------------------------------|\n| `s` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detailed message associated with the exception. |"]]