Stay organized with collections
Save and categorize content based on your preferences.
open class IllegalFormatFlagsException : IllegalFormatException
Unchecked exception thrown when an illegal combination flags 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 specified flags.
|
Public methods |
open String! |
Returns the set of flags which contains an illegal combination.
|
Public constructors
IllegalFormatFlagsException(f: String!)
Constructs an instance of this class with the specified flags.
Parameters |
f |
String!: The set of format flags which contain an illegal combination |
Public methods
getFlags
open fun getFlags(): String!
Returns the set of flags which contains an illegal combination.
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,["# IllegalFormatFlagsException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nIllegalFormatFlagsException\n===========================\n\n```\nopen class IllegalFormatFlagsException : 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.IllegalFormatFlagsException](#) |\n\nUnchecked exception thrown when an illegal combination flags 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| [IllegalFormatFlagsException](#IllegalFormatFlagsException(kotlin.String))`(`f:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an instance of this class with the specified flags. |\n\n| Public methods ||\n|----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [getFlags](#getFlags())`()` Returns the set of flags which contains an illegal combination. |\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### IllegalFormatFlagsException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nIllegalFormatFlagsException(f: String!)\n```\n\nConstructs an instance of this class with the specified flags.\n\n| Parameters ||\n|-----|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `f` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The set of format flags which contain an illegal combination |\n\nPublic methods\n--------------\n\n### getFlags\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getFlags(): String!\n```\n\nReturns the set of flags which contains an illegal combination.\n\n| Return ||\n|-----------------------------------------------------------------------------------|-----------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | The flags |\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`). |"]]