Top Description Fields Constructors
java.lang

public Class IllegalThreadStateException

extends IllegalArgumentException
Class Inheritance

Thrown to indicate that a thread is not in an appropriate state for the requested operation.
Since
1.0
See Also
Thread#start()

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
IllegalThreadStateException()

Constructs an IllegalThreadStateException with no detail message.

public
IllegalThreadStateException(String
the detail message.
s
)

Constructs an IllegalThreadStateException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalArgumentException.serialVersionUID.

Annotations
@Serial

Constructor Detail

IllegalThreadStateExceptionback to summary
public IllegalThreadStateException()

Constructs an IllegalThreadStateException with no detail message.

IllegalThreadStateExceptionback to summary
public IllegalThreadStateException(String s)

Constructs an IllegalThreadStateException with the specified detail message.

Parameters
s:String

the detail message.