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

This exception is thrown when there is an error in the data that is read from a stream during de-serialization.

Since:
1.1
See Also:
Serialized Form

Constructor Summary
StreamCorruptedException()
          Create an exception without a descriptive error message.
StreamCorruptedException(String message)
          Create an exception with a descriptive error message.
 
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()
Create an exception without a descriptive error message.


StreamCorruptedException

public StreamCorruptedException(String message)
Create an exception with a descriptive error message.

Parameters:
message - the descriptive error message