Skip to content

Commit 3a8b929

Browse files
committedMar 4, 2009
Reduced too broad catch block
1 parent 9e623c9 commit 3a8b929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/main/java/org/jboss/netty/util/ThreadRenamingRunnable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void run() {
6363
try {
6464
currentThread.setName(threadName);
6565
renamed = true;
66-
} catch (Exception e) {
66+
} catch (SecurityException e) {
6767
// Probably SecurityException.
6868
}
6969

0 commit comments

Comments
 (0)
Please sign in to comment.