java.io
Class NotActiveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.ObjectStreamException
java.io.NotActiveException
- All Implemented Interfaces:
- Serializable
public class NotActiveException
- extends ObjectStreamException
Some methods in ObjectInputStream and ObjectOutputStream can only be called
from a nested call to readObject() or writeObject(). Any attempt to call them
from another context will cause this exception to be thrown. The list of
methods that are protected this way is:
- ObjectInputStream.defaultReadObject()
- ObjectInputStream.registerValidation()
- ObjectOutputStream.defaultWriteObject()
- See Also:
ObjectInputStream.defaultReadObject(),
ObjectInputStream.registerValidation(ObjectInputValidation, int),
ObjectOutputStream.defaultWriteObject(),
Serialized Form
|
Constructor Summary |
NotActiveException()
Constructs a new instance of this class with its walkback filled in. |
NotActiveException(String detailMessage)
Constructs a new instance of this class with its walkback and message
filled in. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NotActiveException
public NotActiveException()
- Constructs a new instance of this class with its walkback filled in.
NotActiveException
public NotActiveException(String detailMessage)
- Constructs a new instance of this class with its walkback and message
filled in.
- Parameters:
detailMessage - The detail message for the exception.
Please submit a feedback, bug or feature