sole 发表于 2013-1-28 23:36:44

Java theory and practice: Dealing with Interrupte

Many Java™ language methods, such as Thread.sleep() and Object.wait(), throw InterruptedException. You can't ignore it because it's a checked exception, but what should you do with it? In this month's Java theory and practice, concurrency expert Brian Goetz explains what InterruptedException means, why it is thrown, and what you should do when you catch one. <script type="text/javascript"></script>
<div style="display: none;"><!----><!----><!----><!----><!---->
页: [1]
查看完整版本: Java theory and practice: Dealing with Interrupte