throw抛出异常后,程序终止.若放在try catch的try中,处理以后,程序会继续进行. 参考地址:https://blog.csdn.net/m15527097561/article/details/76640796