public class InvalidPropertiesFormatException
extends IOException
| java.lang.Object | ||||
| java.lang.Throwable | ||||
| java.lang.Exception | ||||
| java.io.IOException | ||||
| java.util.InvalidPropertiesFormatException | ||||
按照 Properties规范,抛出以指示操作无法完成,因为输入不符合一组属性的适当XML文档类型。
请注意,尽管InvalidPropertiesFormatException从Exception继承了Serializable接口,但它并不打算成为Serializable。 实施适当的序列化方法来抛出NotSerializableException。
也可以看看:
Public constructors |
|
|---|---|
InvalidPropertiesFormatException(Throwable cause) 用指定的原因构造一个InvalidPropertiesFormatException。 |
|
InvalidPropertiesFormatException(String message) 用指定的详细消息构造一个InvalidPropertiesFormatException。 |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
InvalidPropertiesFormatException (Throwable cause)
用指定的原因构造一个InvalidPropertiesFormatException。
| 参数(Parameters) | |
|---|---|
cause |
Throwable: the cause (which is saved for later retrieval by the getCause() method). |
InvalidPropertiesFormatException (String message)
用指定的详细消息构造一个InvalidPropertiesFormatException。
| 参数(Parameters) | |
|---|---|
message |
String: the detail message. The detail message is saved for later retrieval by the getMessage() method. |