java.lang.IllegalThreadStateException

This is thrown when the state of a thread is not valid.