Build 1.0_r1(from source)

java.io
Class StreamCorruptedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.io.ObjectStreamException
                  extended by java.io.StreamCorruptedException
All Implemented Interfaces:
Serializable

public class StreamCorruptedException
extends ObjectStreamException

When readObject() cannot read an object from the input stream due to missing information (cyclic reference that doesn't match previous instance or missing class descriptor for instance to be loaded) this type of exception is thrown.

See Also:
ObjectInputStream, OptionalDataException, Serialized Form

Constructor Summary
StreamCorruptedException()
          Constructs a new instance of this class with its walkback filled in.
StreamCorruptedException(String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Method Summary
 
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

StreamCorruptedException

public StreamCorruptedException()
Constructs a new instance of this class with its walkback filled in.


StreamCorruptedException

public StreamCorruptedException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - the detail message for the exception.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature