[/url] [url=file:///F:/资料/文字资料/j2sdk-1_4_2-doc/docs/api/overview-summary.html]Overview
Class
JavaTM 2 Platform
Std. Ed. v1.4.2
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
java.io
Class InvalidObjectExceptionjava.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.ObjectStreamException
java.io.InvalidObjectException
All Implemented Interfaces: Serializable public class InvalidObjectException extends ObjectStreamExceptionIndicates that one or more deserialized objects failed validation tests. The argument should provide the reason for the failure. 表示一个或多个解序列化的对象没能通过确认,应该提供参数来说明失败原因。
Since: JDK1.1, JDK1.1 See Also: ObjectInputValidation, Serialized FormConstructor Summary
InvalidObjectException(String reason)
Constructs an InvalidObjectException. 创建一个InvalidObjectException。
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, )]setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail
InvalidObjectExceptionpublic InvalidObjectException(String reason)
Constructs an InvalidObjectException. 创建一个InvalidObjectException。
Parameters: reason - Detailed message explaing the reason for the failure. 解释失败原因的详细信息。 See Also: ObjectInputValidation[/url][url=file:///F:/资料/文字资料/j2sdk-1_4_2-doc/docs/api/overview-summary.html]Overview
Class
JavaTM 2 Platform
Std. Ed. v1.4.2
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.