java.io
Class InvalidObjectException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.io.ObjectStreamException
                  extended byjava.io.InvalidObjectException
All Implemented Interfaces:
Serializable

public class InvalidObjectException
extends ObjectStreamException

Indicates that one or more deserialized objects failed validation tests. The argument should provide the reason for the failure.

Since:
JDK1.1, JDK1.1
Author:
unascribed
See Also:
ObjectInputValidation, Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
InvalidObjectException(String reason)
          Constructs an 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

InvalidObjectException

public InvalidObjectException(String reason)
Constructs an InvalidObjectException.

Parameters:
reason - Detailed message explaing the reason for the failure.
See Also:
ObjectInputValidation