标签:
t1.setUncaughtExceptionHandler(new UncaughtExceptionHandler(){
@Override
public void uncaughtException(Thread t, Throwable e) {
System.out.println("exception occured:"+e.getMessage());
}
});
标签:
原文地址:http://www.cnblogs.com/tpeang/p/4726353.html