public class InvalidPreferencesFormatException
extends 异常
| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | java.util.prefs.InvalidPreferencesFormatException | ||
根据 Preferences规范,抛出以指示操作无法完成,因为输入不符合适用于首选项集合的适当XML文档类型。
也可以看看:
Public constructors |
|
|---|---|
InvalidPreferencesFormatException(Throwable cause) 用指定的原因构造一个InvalidPreferencesFormatException。 |
|
InvalidPreferencesFormatException(String message) 用指定的详细信息构造一个InvalidPreferencesFormatException。 |
|
InvalidPreferencesFormatException(String message, Throwable cause) 用指定的详细信息和原因构造一个InvalidPreferencesFormatException。 |
|
Inherited methods |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
InvalidPreferencesFormatException (Throwable cause)
用指定的原因构造一个InvalidPreferencesFormatException。
| Parameters | |
|---|---|
cause |
Throwable: the cause (which is saved for later retrieval by the getCause() method). |
InvalidPreferencesFormatException (String message)
用指定的详细信息构造一个InvalidPreferencesFormatException。
| Parameters | |
|---|---|
message |
String: the detail message. The detail message is saved for later retrieval by the getMessage() method. |
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). |