Stay organized with collections
Save and categorize content based on your preferences.
open class InvalidPropertiesFormatException : IOException
Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per the Properties
specification.
Note, that although InvalidPropertiesFormatException inherits Serializable interface from Exception, it is not intended to be Serializable. Appropriate serialization methods are implemented to throw NotSerializableException.
Summary
Public constructors |
Constructs an InvalidPropertiesFormatException with the specified detail message.
|
Constructs an InvalidPropertiesFormatException with the specified cause.
|
Public constructors
InvalidPropertiesFormatException(message: String!)
Constructs an InvalidPropertiesFormatException with the specified detail message.
InvalidPropertiesFormatException(cause: Throwable!)
Constructs an InvalidPropertiesFormatException with the specified cause.
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,["# InvalidPropertiesFormatException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nInvalidPropertiesFormatException\n================================\n\n```\nopen class InvalidPropertiesFormatException : 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](../io/IOException.html#) ||\n| | | | ↳ | [java.util.InvalidPropertiesFormatException](#) |\n\nThrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per the [Properties](/reference/kotlin/java/util/Properties) specification.\n\nNote, that although InvalidPropertiesFormatException inherits Serializable interface from Exception, it is not intended to be Serializable. Appropriate serialization methods are implemented to throw NotSerializableException.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [InvalidPropertiesFormatException](#InvalidPropertiesFormatException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an InvalidPropertiesFormatException with the specified detail message. |\n| [InvalidPropertiesFormatException](#InvalidPropertiesFormatException(kotlin.Throwable))`(`cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` Constructs an InvalidPropertiesFormatException with the specified cause. |\n\nPublic constructors\n-------------------\n\n### InvalidPropertiesFormatException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInvalidPropertiesFormatException(message: String!)\n```\n\nConstructs an InvalidPropertiesFormatException with the specified detail message.\n\n| Parameters ||\n|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message. The detail message is saved for later retrieval by the [Throwable.getMessage()](../lang/Throwable.html#getMessage()) method. |\n\n### InvalidPropertiesFormatException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInvalidPropertiesFormatException(cause: Throwable!)\n```\n\nConstructs an InvalidPropertiesFormatException with the specified cause.\n\n| Parameters ||\n|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!: the cause (which is saved for later retrieval by the [Throwable.getCause()](../lang/Throwable.html#getCause()) method). |"]]