public class NotActiveException extends ObjectStreamException
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 a
NotActiveException to be thrown. The list of methods that are
protected this way is:
| Constructor and Description |
|---|
NotActiveException()
Constructs a new
NotActiveException with its stack trace filled
in. |
NotActiveException(String detailMessage)
Constructs a new
NotActiveException with its stack trace and
detail message filled in. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NotActiveException()
NotActiveException with its stack trace filled
in.public NotActiveException(String detailMessage)
NotActiveException with its stack trace and
detail message filled in.detailMessage - the detail message for this exception.