NotActiveException (Java SE 20 & JDK 20)
- All Implemented Interfaces:
Serializable
Thrown when serialization or deserialization is not active.
- Since:
- 1.1
- See Also:
-
Constructor Summary
Constructors
Constructor to create a new NotActiveException without a reason.
Constructor to create a new NotActiveException with the reason given.
-
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotActiveException
public NotActiveException
(String reason) Constructor to create a new NotActiveException with the reason given.
- Parameters:
reason- a String describing the reason for the exception.
-
NotActiveException
public NotActiveException()
Constructor to create a new NotActiveException without a reason.
-