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 the
Preferences).- 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 Details
-
InvalidPreferencesFormatException
Constructs a newInvalidPreferencesFormatExceptioninstance with a detailed exception message.- Parameters:
s- the detailed exception message.
-
InvalidPreferencesFormatException
Constructs a newInvalidPreferencesFormatExceptioninstance with a detailed exception message and a nestedThrowable.- Parameters:
s- the detailed exception message.t- the nestedThrowable.
-
InvalidPreferencesFormatException
Constructs a newInvalidPreferencesFormatExceptioninstance with a nestedThrowable.- Parameters:
t- the nestedThrowable.
-