APIdia Launch Partner
Top Description Fields Constructors
java.util.prefs

public Class InvalidPreferencesFormatException

extends Exception
Class Inheritance
Imports
java.io.NotSerializableException

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 preferences, as per the Preferences specification.
Author
Josh Bloch
Since
1.4
See Also
Preferences

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

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

Constructs an InvalidPreferencesFormatException with the specified cause.

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

Constructs an InvalidPreferencesFormatException with the specified detail message.

public
InvalidPreferencesFormatException(String
the detail message. The detail message is saved for later retrieval by the Throwable#getMessage() method.
message
,
Throwable
the cause (which is saved for later retrieval by the Throwable#getCause() method).
cause
)

Constructs an InvalidPreferencesFormatException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

InvalidPreferencesFormatExceptionback to summary
public InvalidPreferencesFormatException(Throwable cause)

Constructs an InvalidPreferencesFormatException with the specified cause.

Parameters
cause:Throwable

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

InvalidPreferencesFormatExceptionback to summary
public InvalidPreferencesFormatException(String message)

Constructs an InvalidPreferencesFormatException with the specified detail message.

Parameters
message:String

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

InvalidPreferencesFormatExceptionback to summary
public InvalidPreferencesFormatException(String message, Throwable cause)

Constructs an InvalidPreferencesFormatException with the specified detail message and cause.

Parameters
message:String

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

cause:Throwable

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