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. }