Class SzEnvironmentDestroyedException

All Implemented Interfaces:
Serializable

public class SzEnvironmentDestroyedException extends IllegalStateException
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 Details

    • SzEnvironmentDestroyedException

      public SzEnvironmentDestroyedException()
      Default constructor.
    • SzEnvironmentDestroyedException

      public SzEnvironmentDestroyedException(String message)
      Constructs with the specified message.
      Parameters:
      message - The message describing what occurred.
    • SzEnvironmentDestroyedException

      public SzEnvironmentDestroyedException(String message, Throwable cause)
      Constructs with the specified message and Throwable cause.
      Parameters:
      message - The message describing what occurred.
      cause - The Throwable cause.
    • SzEnvironmentDestroyedException

      public SzEnvironmentDestroyedException(Throwable cause)
      Constructs with the specified Throwable cause.
      Parameters:
      cause - The Throwable cause.