APIdia Launch Partner
Top Description Fields Constructors
java.io

public Class NotActiveException

extends ObjectStreamException
Class Inheritance

Thrown when serialization or deserialization is not active.
Since
1.1

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NotActiveException(String
a String describing the reason for the exception.
reason
)

Constructor to create a new NotActiveException with the reason given.

public
NotActiveException()

Constructor to create a new NotActiveException without a reason.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.ObjectStreamException.serialVersionUID.

Annotations
@Serial

Constructor Detail

NotActiveExceptionback to summary
public NotActiveException(String reason)

Constructor to create a new NotActiveException with the reason given.

Parameters
reason:String

a String describing the reason for the exception.

NotActiveExceptionback to summary
public NotActiveException()

Constructor to create a new NotActiveException without a reason.