模块 java.prefs

类 InvalidPreferencesFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.util.prefs.InvalidPreferencesFormatException
所有已实现的接口:
Serializable

public class InvalidPreferencesFormatException extends Exception
根据 Preferences 规范,抛出表示操作无法完成,因为输入不符合首选项集合的适当 XML 文档类型。
自从:
1.4
参见:
  • 构造方法详细信息

    • InvalidPreferencesFormatException

      public InvalidPreferencesFormatException(Throwable  cause)
      构造具有指定原因的 InvalidPreferencesFormatException。
      参数:
      cause - 原因(保存以供以后通过 Throwable.getCause() 方法检索)。
    • InvalidPreferencesFormatException

      public InvalidPreferencesFormatException(String  message)
      构造具有指定详细消息的 InvalidPreferencesFormatException。
      参数:
      message - 详细信息。保存详细消息以供以后通过 Throwable.getMessage() 方法检索。
    • InvalidPreferencesFormatException

      public InvalidPreferencesFormatException(String  message, Throwable  cause)
      构造具有指定详细消息和原因的 InvalidPreferencesFormatException。
      参数:
      message - 详细信息。保存详细消息以供以后通过 Throwable.getMessage() 方法检索。
      cause - 原因(保存以供以后通过 Throwable.getCause() 方法检索)。