Most visited

Recently visited

Added in API level 1

InvalidPreferencesFormatException

public class InvalidPreferencesFormatException
extends 异常

java.lang.Object
    java.lang.Throwable
      java.lang.Exception
        java.util.prefs.InvalidPreferencesFormatException


根据 Preferences规范,抛出以指示操作无法完成,因为输入不符合适用于首选项集合的适当XML文档类型。

也可以看看:

摘要(Summary)

Public constructors

InvalidPreferencesFormatException(Throwable cause)

用指定的原因构造一个InvalidPreferencesFormatException。

InvalidPreferencesFormatException(String message)

用指定的详细信息构造一个InvalidPreferencesFormatException。

InvalidPreferencesFormatException(String message, Throwable cause)

用指定的详细信息和原因构造一个InvalidPreferencesFormatException。

继承方法(Inherited methods)

From class java.lang.Throwable
From class java.lang.Object

Public constructors

InvalidPreferencesFormatException

Added in API level 1
InvalidPreferencesFormatException (Throwable cause)

用指定的原因构造一个InvalidPreferencesFormatException。

参数(Parameters)
cause Throwable: the cause (which is saved for later retrieval by the getCause() method).

InvalidPreferencesFormatException

Added in API level 1
InvalidPreferencesFormatException (String message)

用指定的详细信息构造一个InvalidPreferencesFormatException。

参数(Parameters)
message String: the detail message. The detail message is saved for later retrieval by the getMessage() method.

InvalidPreferencesFormatException

Added in API level 1
InvalidPreferencesFormatException (String message, 
                Throwable cause)

用指定的详细信息和原因构造一个InvalidPreferencesFormatException。

参数(Parameters)
message String: the detail message. The detail message is saved for later retrieval by the getMessage() method.
cause Throwable: the cause (which is saved for later retrieval by the getCause() method).

Hooray!