From 3a8b92929ef558929b19581f81f4f4ec15545532 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Wed, 4 Mar 2009 10:26:34 +0000 Subject: [PATCH] Reduced too broad catch block --- src/main/java/org/jboss/netty/util/ThreadRenamingRunnable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jboss/netty/util/ThreadRenamingRunnable.java b/src/main/java/org/jboss/netty/util/ThreadRenamingRunnable.java index ab1fdc3f09..65578c2d9e 100644 --- a/src/main/java/org/jboss/netty/util/ThreadRenamingRunnable.java +++ b/src/main/java/org/jboss/netty/util/ThreadRenamingRunnable.java @@ -63,7 +63,7 @@ public class ThreadRenamingRunnable implements Runnable { try { currentThread.setName(threadName); renamed = true; - } catch (Exception e) { + } catch (SecurityException e) { // Probably SecurityException. }