您的位置:首页 > 其它

In what situation, an IllegalThreadStateException will be thrown?

2007-03-08 20:42 253 查看
Q. In what situation, an IllegalThreadStateException will be thrown?
A:
1) If the thread was already started, you call start() again.
2) If this thread is active, you call setDaemon().
3) A deprecated method countStackFrames() also throws
IllegalThreadStateException.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  deprecated thread
相关文章推荐