//这个函数可以抛出 int float char 三种类型异常,抛出其它就报错 void func() throw(int,float,char) { throw "abc" } catch(...)捕获所有异常