Package com.senzing.sdk
Class SzEnvironmentDestroyedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
com.senzing.sdk.SzEnvironmentDestroyedException
- All Implemented Interfaces:
Serializable
Extends
IllegalStateException
so the exceptional
condition of the SzEnvironment
already being destroyed
can be differentiated from other IllegalStateException
instances that might be thrown.
This is a RuntimeException
that can be thrown from almost
all Senzing SDK functions if the associated SzEnvironment
has been destroyed.
NOTE: This class does not extend SzException
,
but rather extends IllegalStateException
.
- Since:
- 4.1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SzEnvironmentDestroyedException
(String message) Constructs with the specified message.SzEnvironmentDestroyedException
(String message, Throwable cause) Constructs with the specified message andThrowable
cause.Constructs with the specifiedThrowable
cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SzEnvironmentDestroyedException
public SzEnvironmentDestroyedException()Default constructor. -
SzEnvironmentDestroyedException
Constructs with the specified message.- Parameters:
message
- The message describing what occurred.
-
SzEnvironmentDestroyedException
Constructs with the specified message andThrowable
cause.- Parameters:
message
- The message describing what occurred.cause
- TheThrowable
cause.
-
SzEnvironmentDestroyedException
Constructs with the specifiedThrowable
cause.- Parameters:
cause
- TheThrowable
cause.
-