Stay organized with collections
Save and categorize content based on your preferences.
open class UnknownFormatConversionException : IllegalFormatException
Unchecked exception thrown when an unknown conversion is given.
Unless otherwise specified, passing a null
argument to any method or constructor in this class will cause a NullPointerException
to be thrown.
Summary
Public constructors |
Constructs an instance of this class with the unknown conversion.
|
Public methods |
open String! |
Returns the unknown conversion.
|
Public constructors
UnknownFormatConversionException(s: String!)
Constructs an instance of this class with the unknown conversion.
Parameters |
s |
String!: Unknown conversion |
Public methods
getConversion
open fun getConversion(): String!
Returns the unknown conversion.
Return |
String! |
The unknown conversion. |
Properties
message
open val message: String?
Return |
String? |
the detail message string of this Throwable instance (which may be null ). |
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,["# UnknownFormatConversionException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nUnknownFormatConversionException\n================================\n\n```\nopen class UnknownFormatConversionException : IllegalFormatException\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.lang.RuntimeException](../lang/RuntimeException.html#) ||||\n| | | | ↳ | [java.lang.IllegalArgumentException](../lang/IllegalArgumentException.html#) |||\n| | | | | ↳ | [java.util.IllegalFormatException](/reference/kotlin/java/util/IllegalFormatException) ||\n| | | | | | ↳ | [java.util.UnknownFormatConversionException](#) |\n\nUnchecked exception thrown when an unknown conversion is given.\n\nUnless otherwise specified, passing a `null` argument to any method or constructor in this class will cause a [NullPointerException](../lang/NullPointerException.html#) to be thrown.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [UnknownFormatConversionException](#UnknownFormatConversionException(kotlin.String))`(`s:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an instance of this class with the unknown conversion. |\n\n| Public methods ||\n|----------------------------------------------------------------------------------------|-----------------------------------------------------------------------|\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [getConversion](#getConversion())`()` Returns the unknown conversion. |\n\n| Properties ||\n|----------------------------------------------------------------------------------------|------------------------------------------|\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | [message](#message:kotlin.String) \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### UnknownFormatConversionException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnknownFormatConversionException(s: String!)\n```\n\nConstructs an instance of this class with the unknown conversion.\n\n| Parameters ||\n|-----|-------------------------------------------------------------------------------------------------------|\n| `s` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: Unknown conversion |\n\nPublic methods\n--------------\n\n### getConversion\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getConversion(): String!\n```\n\nReturns the unknown conversion.\n\n| Return ||\n|-----------------------------------------------------------------------------------|-------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | The unknown conversion. |\n\nProperties\n----------\n\n### message\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen val message: String?\n```\n\n| Return ||\n|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | the detail message string of this `Throwable` instance (which may be `null`). |"]]