Class java.lang.IllegalStateException
All Packages Class Hierarchy This Package Previous Next Index
Class java.lang.IllegalStateException
Object
|
+----Throwable
|
+----Exception
|
+----RuntimeException
|
+----java.lang.IllegalStateException
- public class IllegalStateException
- extends RuntimeException
Signals that a method has been invoked at an illegal or
inappropriate time. In other words, the Java environment or
Java application is not in an appropriate state for the requested
operation.
- Version:
- 1.5, 07/01/98
- Author:
- Jonni Kanerva
- Since:
- JDK1.1
-
java.lang.IllegalStateException()
- Constructs an IllegalStateException with no detail message.
-
java.lang.IllegalStateException(String)
- Constructs an IllegalStateException with the specified detail
message.
IllegalStateException
public IllegalStateException()
- Constructs an IllegalStateException with no detail message.
A detail message is a String that describes this particular exception.
- Since:
- JDK1.1
IllegalStateException
public IllegalStateException(String s)
- Constructs an IllegalStateException with the specified detail
message. A detail message is a String that describes this particular
exception.
- Parameters:
- s - the String that contains a detailed message
- Since:
- JDK1.1
All Packages Class Hierarchy This Package Previous Next Index