Package java.lang Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class IllegalThreadStateException

Constructors

public  class  java.lang.IllegalThreadStateException
    extends  java.lang.IllegalArgumentException  
{
        // Constructors
    public IllegalThreadStateException();	
    public IllegalThreadStateException(String  s);	
}

Thrown to indicate that a thread is not in an appropriate state for the requested operation. See, for example, the suspend and resume methods in class Thread.


Constructors


IllegalThreadStateException

public IllegalThreadStateException() 

Constructs an IllegalThreadStateException with no detail message.


IllegalThreadStateException

public IllegalThreadStateException(String  s) 

Constructs an IllegalThreadStateException with the specified detail message.

ParameterDescription
s the detail message



Top© 1996 Sun Microsystems, Inc. All rights reserved.