1、创建一个测试方法
2、选中需要创建try-catch-finally的语句块
3、在菜撮劝丛食单栏找到"code" --> "Surround with"
4、选中try-catch-finally块
5、生成最终代码