mirror of
https://github.com/corda/corda.git
synced 2025-01-09 06:23:04 +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;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ThreadGroup(String name) {
|
||||||
|
this(Thread.currentThread().getThreadGroup(), name);
|
||||||
|
}
|
||||||
|
|
||||||
public void uncaughtException(Thread t, Throwable e) {
|
public void uncaughtException(Thread t, Throwable e) {
|
||||||
if (parent != null) {
|
if (parent != null) {
|
||||||
parent.uncaughtException(t, e);
|
parent.uncaughtException(t, e);
|
||||||
|
Loading…
Reference in New Issue
Block a user