InvalidPropertiesFormatException  |  API reference  |  Android Developers (original) (raw)

open class InvalidPropertiesFormatException : IOException

kotlin.Any
kotlin.Throwable
java.lang.Exception
java.io.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](/reference/kotlin/java/util/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
InvalidPropertiesFormatException(message: String!) Constructs an InvalidPropertiesFormatException with the specified detail message.
InvalidPropertiesFormatException(cause: Throwable!) Constructs an InvalidPropertiesFormatException with the specified cause.

Public constructors

InvalidPropertiesFormatException

InvalidPropertiesFormatException(message: String!)

Constructs an InvalidPropertiesFormatException with the specified detail message.

Parameters
message String!: the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

InvalidPropertiesFormatException

InvalidPropertiesFormatException(cause: Throwable!)

Constructs an InvalidPropertiesFormatException with the specified cause.

Parameters
cause Throwable!: the cause (which is saved for later retrieval by the Throwable.getCause() method).

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.