# Class IllegalStateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException

Direct Known Subclasses:
  `BlockingDisallowedException`

public class IllegalStateException extends RuntimeException

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IllegalStateException()`
  `IllegalStateException(String s)`
  `IllegalStateException(String s, Throwable cause)`
  Constructs an IllegalStateException with the specified detail message and cause.
  `IllegalStateException(Throwable cause)`
  Constructs an IllegalStateException with the specified cause.

- ## Method Summary

  ### Methods inherited from class Throwable

  `addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### IllegalStateException

    public IllegalStateException()

  - ### IllegalStateException

    public IllegalStateException(String s)

  - ### IllegalStateException

    public IllegalStateException(String s, Throwable cause)
    Constructs an IllegalStateException with the specified detail message and cause. s - the detail message. cause - the cause.

  - ### IllegalStateException

    public IllegalStateException(Throwable cause)
    Constructs an IllegalStateException with the specified cause. cause - the cause.