SunSPOT API V5.0


java.lang
Class IllegalStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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.

Since:
JDK1.1
Version:
1.8, 12/04/99

Constructor Summary
IllegalStateException()
          Constructs an IllegalStateException with no detail message.
IllegalStateException(String s)
          Constructs an IllegalStateException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalStateException

public IllegalStateException()
Constructs an IllegalStateException with no detail message. A detail message is a String that describes this particular exception.


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

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.