java.io.NotActiveException
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()
Summary
Public Constructors
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
NotActiveException()
Constructs a new instance of this class with its walkback filled in.
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.
|