java在定义方法后面加throws异常,vb有没有类似的写法?
privatestaticdoublefct()throwsselectServiceException{...................................
private static double fct( )
throws selectServiceException {
..................................................................................
new throw selectServiceException(................)}
vb中有没有类似的写法? 展开
throws selectServiceException {
..................................................................................
new throw selectServiceException(................)}
vb中有没有类似的写法? 展开
1个回答
2016-12-09
展开全部
vb.net也有Throw关键字的,差不多
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询