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

Class IllegalThreadStateException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.lang.RuntimeException
         |
         +--java.lang.IllegalArgumentException
            |
            +--java.lang.IllegalThreadStateException


public class IllegalThreadStateException

extends IllegalArgumentException

Thrown When trying to manipulate a Thread which is in an inappropriate state. Since the documentation suggests that this can happen with Thread.suspend or Thread.resume, but these two methods are deprecated, this exception is likely very rare.

Authors:

Constructor Summary

IllegalThreadStateException()

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

Create an exception with a message.

Constructor Details

IllegalThreadStateException

public IllegalThreadStateException()

Create an exception without a message.


IllegalThreadStateException

public IllegalThreadStateException(java.lang.String s)

Create an exception with a message.

Parameters: