Name
InvalidPreferencesFormatException
Synopsis
Signals a syntax error in XML preference data. Note that although this class inherits the Serializable interface, implementations are not actually required to be serializable.
Figure 16-126. java.util.prefs.InvalidPreferencesFormatException
public class InvalidPreferencesFormatException extends Exception { // Public Constructors public InvalidPreferencesFormatException(String message); public InvalidPreferencesFormatException(Throwable cause); public InvalidPreferencesFormatException(String message, Throwable cause); }
Thrown By
Preferences.importPreferences( )
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.