|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.util.prefs.InvalidPreferencesFormatException
public class InvalidPreferencesFormatException
Indicates reading prefs from stream failed. Thrown by the
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 Summary | |
---|---|
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. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvalidPreferencesFormatException(String message)
message
- the messagepublic InvalidPreferencesFormatException(Throwable cause)
cause
- the causepublic InvalidPreferencesFormatException(String message, Throwable cause)
message
- the messagecause
- the cause
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |