Name

java.lang.IllegalStateException

Synopsis

This exception is identical to its J2SE counterpart. It is thrown when an illegal transition is requested, such as invoking a method at an illegal or inappropriate time.

public classIllegalStateException extends java.lang.RuntimeException {
   // public constructors
   public IllegalStateException();
   public IllegalStateException(String s);
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.