Package java.util.prefs
Class InvalidPreferencesFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.util.prefs.InvalidPreferencesFormatException
-
- All Implemented Interfaces:
Serializable
public class InvalidPreferencesFormatException extends Exception
An exception to indicate that the input XML file is not well-formed or could not be validated against the appropriate document type (specified by in thePreferences).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidPreferencesFormatException(String s)Constructs a newInvalidPreferencesFormatExceptioninstance with a detailed exception message.InvalidPreferencesFormatException(String s, Throwable t)Constructs a newInvalidPreferencesFormatExceptioninstance with a detailed exception message and a nestedThrowable.InvalidPreferencesFormatException(Throwable t)Constructs a newInvalidPreferencesFormatExceptioninstance with a nestedThrowable.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidPreferencesFormatException
public InvalidPreferencesFormatException(String s)
Constructs a newInvalidPreferencesFormatExceptioninstance with a detailed exception message.- Parameters:
s- the detailed exception message.
-
InvalidPreferencesFormatException
public InvalidPreferencesFormatException(String s, Throwable t)
Constructs a newInvalidPreferencesFormatExceptioninstance with a detailed exception message and a nestedThrowable.- Parameters:
s- the detailed exception message.t- the nestedThrowable.
-
InvalidPreferencesFormatException
public InvalidPreferencesFormatException(Throwable t)
Constructs a newInvalidPreferencesFormatExceptioninstance with a nestedThrowable.- Parameters:
t- the nestedThrowable.
-
-