Foundation 1.1.2

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
See Also:
ObjectInputValidation, Serialized Form

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

Foundation 1.1.2

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.