java.util.prefs
public class InvalidPreferencesFormatException extends Exception
importPreferences()
method when the supplied input stream
could not be read because it was not in the correct XML format.
Note that although this class inherits the Serializable interface, an
attempt to serialize will fail with a NotSerializableException
.
Since: 1.4
See Also: Preferences
UNKNOWN: updated to 1.4
Constructor Summary | |
---|---|
InvalidPreferencesFormatException(String message)
Creates a new exception with a descriptive message. | |
InvalidPreferencesFormatException(Throwable cause)
Creates a new exception with the given cause.
| |
InvalidPreferencesFormatException(String message, Throwable cause)
Creates a new exception with a descriptive message and a cause.
|
Parameters: message the message
Parameters: cause the cause
Parameters: message the message cause the cause