Top Description Fields Constructors Methods
java.util

public Class InvalidPropertiesFormatException

extends IOException
Class Inheritance
Imports
java.io.NotSerializableException, .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.

Since
1.5
See Also
Properties

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidPropertiesFormatException(Throwable
the cause (which is saved for later retrieval by the Throwable#getCause() method).
cause
)

Constructs an InvalidPropertiesFormatException with the specified cause.

public
InvalidPropertiesFormatException(String
the detail message. The detail message is saved for later retrieval by the Throwable#getMessage() method.
message
)

Constructs an InvalidPropertiesFormatException with the specified detail message.

Method Summary

Modifier and TypeMethod and Description
private void
readObject(ObjectInputStream
the ObjectInputStream from which data is read
in
)

Hides java.lang.Throwable.readObject.

Throws NotSerializableException, since InvalidPropertiesFormatException objects are not intended to be serializable.

private void
writeObject(ObjectOutputStream
the ObjectOutputStream to which data is written
out
)

Hides java.lang.Throwable.writeObject.

Throws NotSerializableException, since InvalidPropertiesFormatException objects are not intended to be serializable.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Annotations
@Serial

Constructor Detail

InvalidPropertiesFormatExceptionback to summary
public InvalidPropertiesFormatException(Throwable cause)

Constructs an InvalidPropertiesFormatException with the specified cause.

Parameters
cause:Throwable

the cause (which is saved for later retrieval by the Throwable#getCause() method).

Annotations
@SuppressWarnings:this-escape
InvalidPropertiesFormatExceptionback to summary
public InvalidPropertiesFormatException(String message)

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.

Method Detail

readObjectback to summary
private void readObject(ObjectInputStream in) throws NotSerializableException

Hides java.lang.Throwable.readObject.

Throws NotSerializableException, since InvalidPropertiesFormatException objects are not intended to be serializable.

Parameters
in:ObjectInputStream

Doc from java.lang.Throwable.readObject.

the ObjectInputStream from which data is read

Annotations
@Serial
writeObjectback to summary
private void writeObject(ObjectOutputStream out) throws NotSerializableException

Hides java.lang.Throwable.writeObject.

Throws NotSerializableException, since InvalidPropertiesFormatException objects are not intended to be serializable.

Parameters
out:ObjectOutputStream

Doc from java.lang.Throwable.writeObject.

the ObjectOutputStream to which data is written

Annotations
@Serial