Stay organized with collections
Save and categorize content based on your preferences.
UnsupportedEncodingException
open class UnsupportedEncodingException : IOException
The Character Encoding is not supported.
Summary
Public constructors |
Constructs an UnsupportedEncodingException without a detail message.
|
Constructs an UnsupportedEncodingException with a detail message.
|
Public constructors
UnsupportedEncodingException
UnsupportedEncodingException()
Constructs an UnsupportedEncodingException without a detail message.
UnsupportedEncodingException
UnsupportedEncodingException(s: String!)
Constructs an UnsupportedEncodingException with a detail message.
Parameters |
s |
String!: Describes the reason for 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.
[[["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,["# UnsupportedEncodingException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nUnsupportedEncodingException\n============================\n\n```\nopen class UnsupportedEncodingException : 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.UnsupportedEncodingException](#) |\n\nThe Character Encoding is not supported.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [UnsupportedEncodingException](#UnsupportedEncodingException())`()` Constructs an UnsupportedEncodingException without a detail message. |\n| [UnsupportedEncodingException](#UnsupportedEncodingException(kotlin.String))`(`s:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an UnsupportedEncodingException with a detail message. |\n\nPublic constructors\n-------------------\n\n### UnsupportedEncodingException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnsupportedEncodingException()\n```\n\nConstructs an UnsupportedEncodingException without a detail message. \n\n### UnsupportedEncodingException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnsupportedEncodingException(s: String!)\n```\n\nConstructs an UnsupportedEncodingException with a detail message.\n\n| Parameters ||\n|-----|----------------------------------------------------------------------------------------------------------------------------|\n| `s` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: Describes the reason for the exception. |"]]