Tuesday 12 March 2013

Description: Constructs an IllegalThreadStateException with no detail message. IllegalThreadStateException(String) Declaration: public IllegalThreadStateException(java.lang.String s) Description: Constructs an IllegalThreadStateException with the specified detail message. Parameters: s - the detail message.


java.lang
IllegalThreadStateException

Declaration
public class IllegalThreadStateException extends IllegalArgumentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
|
+--java.lang.IllegalThreadStateException
Description
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()
IllegalThreadStateException(String s)



Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()



Constructors
IllegalThreadStateException()
Declaration:
public IllegalThreadStateException()




Description:
Constructs an IllegalThreadStateException with no detail message.
IllegalThreadStateException(String)
Declaration:
public IllegalThreadStateException(java.lang.String s)
Description:
Constructs an IllegalThreadStateException with the specified detail message.
Parameters:
s - the detail message.








No comments:

Post a Comment