public class NotActiveException
extends ObjectStreamException
| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.io.IOException | ||||
| ↳ | java.io.ObjectStreamException | ||||
| ↳ | java.io.NotActiveException | ||||
序列化或反序列化未激活时抛出。
Public constructors |
|
|---|---|
NotActiveException(String reason) 构造函数根据给出的原因创建一个新的NotActiveException。 |
|
NotActiveException() 构造函数无理由创建一个新的NotActiveException。 |
|
Inherited methods |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
NotActiveException (String reason)
构造函数根据给出的原因创建一个新的NotActiveException。
| Parameters | |
|---|---|
reason |
String: a String describing the reason for the exception. |