java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.util.InvalidPropertiesFormatException
- 所有已实现的接口:
Serializable
根据
Properties 规范,抛出表示操作无法完成,因为输入不符合属性集合的适当 XML 文档类型。
请注意,尽管 InvalidPropertiesFormatException 从 Exception 继承了 Serializable 接口,但它并不打算成为 Serializable。实现适当的序列化方法以抛出 NotSerializableException。
- 自从:
- 1.5
- 参见:
-
构造方法总结
构造方法构造方法描述InvalidPropertiesFormatException(String message) 构造具有指定详细消息的 InvalidPropertiesFormatException。构造具有指定原因的 InvalidPropertiesFormatException。 -
方法总结
在类 java.lang.Throwable 中声明的方法
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
构造方法详细信息
-
InvalidPropertiesFormatException
构造具有指定原因的 InvalidPropertiesFormatException。- 参数:
cause- 原因(保存以供以后通过Throwable.getCause()方法检索)。
-
InvalidPropertiesFormatException
构造具有指定详细消息的 InvalidPropertiesFormatException。- 参数:
message- 详细信息。保存详细消息以供以后通过Throwable.getMessage()方法检索。
-