Reduced too broad catch block
This commit is contained in:
parent
9e623c9cb1
commit
3a8b92929e
@ -63,7 +63,7 @@ public class ThreadRenamingRunnable implements Runnable {
|
|||||||
try {
|
try {
|
||||||
currentThread.setName(threadName);
|
currentThread.setName(threadName);
|
||||||
renamed = true;
|
renamed = true;
|
||||||
} catch (Exception e) {
|
} catch (SecurityException e) {
|
||||||
// Probably SecurityException.
|
// Probably SecurityException.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user