Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.lang

Class IllegalStateException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.lang.RuntimeException
         |
         +--java.lang.IllegalStateException


public class IllegalStateException

extends RuntimeException

Thrown when a method is invoked at an illegal or inappropriate time. For example:
 void m(Collecion c)
 {
   c.iterator().remove();
 }
 

Since:Authors:

Constructor Summary

IllegalStateException()

Create an exception without a message.
IllegalStateException(java.lang.String s)

Create an exception with a message.

Constructor Details

IllegalStateException

public IllegalStateException()

Create an exception without a message.


IllegalStateException

public IllegalStateException(java.lang.String s)

Create an exception with a message.

Parameters: