I am learning core java and learned about multithreading IllegalStateException
.
I have already read standard documentation and this question on SO...but couldn't find proper solution in the context of threads.
In book's words:
IllegalStateException
is thrown when you start a thread twice.
I can not understand what it says..even no example is given..
When it occurs in the context of threads? Can anyone give an example?