mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
add ThreadGroup(String) constructor
This commit is contained in:
parent
0d7a2fa2bc
commit
017116d060
@ -19,6 +19,10 @@ public class ThreadGroup implements Thread.UncaughtExceptionHandler {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public ThreadGroup(String name) {
|
||||
this(Thread.currentThread().getThreadGroup(), name);
|
||||
}
|
||||
|
||||
public void uncaughtException(Thread t, Throwable e) {
|
||||
if (parent != null) {
|
||||
parent.uncaughtException(t, e);
|
||||
|
Loading…
Reference in New Issue
Block a user