The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Exception-Handling Antipatterns
Subject:  Ignoring InterruptedException
Date:  2006-04-07 11:21:55
From:  jmehrens


The "ignoring InterruptedException" section is wrong because it fails to restore the current threads interrupted status in the InterruptedException catch block. Either rethrow or restore the status.

 Feed java.net RSS Feeds