我有Java主类,在类中,我启动了一个新线程,在主类中,它一直等到线程死亡。在某个时刻,我从线程中抛出了运行时异常,但我无法在主类中捕获从线程中抛出的异常。代码如下:publicclassTestextendsThread{publicstaticvoidmain(String[]args)throwsInterruptedException{Testt=newTest();try{t.start();t.join();}catch(RuntimeExceptione){System.out.println("**RuntimeExceptionfrommain");}System.o