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
.
Preferences
,
Serialized FormConstructor and Description |
---|
InvalidPreferencesFormatException(String message)
Creates a new exception with a descriptive message.
|
InvalidPreferencesFormatException(String message,
Throwable cause)
Creates a new exception with a descriptive message and a cause.
|
InvalidPreferencesFormatException(Throwable cause)
Creates a new exception with the given cause.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPreferencesFormatException(String message)
message
- the messagepublic InvalidPreferencesFormatException(Throwable cause)
cause
- the causepublic InvalidPreferencesFormatException(String message, Throwable cause)
message
- the messagecause
- the cause