|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException java.io.ObjectStreamException 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(ObjectInputValidation, int)
,
ObjectOutputStream#defaultWriteObject()
,
Serialized FormConstructor Summary | |
NotActiveException()
Constructs a new instance of this class with its walkback filled in. |
|
NotActiveException(java.lang.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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NotActiveException()
public NotActiveException(java.lang.String detailMessage)
detailMessage
- The detail message for the exception.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |