To Q1:
You can have any statement after catch if only you can sure the all the Exception in Try block has been catched,otherwise the statement will arise error.
You can do anything in Catch statement,return is not necessary.
You can have any statement after catch if only you can sure the all the Exception in Try block has been catched,otherwise the statement will arise error.
You can do anything in Catch statement,return is not necessary.
解决方案 »
- 求java金额转换优化
- 想读点源代码,谁给推荐个
- 求50000的阶乘要求速度和性能
- Class.forname() 异常 求助
- java布局中如何使控件从上到下先排好
- 急求JBuilder 2005
- 这个加密好象是MD5的,2bfa566053924ff162382924b19ffa58,谁能帮我把它变成1234的加密
- 急!!!JB连sqlserver时出现下列问题,高手指点啊!!!!!!!!!!!!!!!!!!!!!!!!
- error: cannot read: ClintChat.java什么意思
- mysql的8小时close问题
- JDK和JBuilder能安装在WindowsXP上吗?如何卸载JDK?
- 在异常处理中,如果把一句绝对不会抛出异常的语句用try{}catch(){},会用什么反映?进来看看这个例子
findByPrimarykey找不到表示你的primarykey有问题,
其他情况完全可能是正常的,比如数据库没有你要求条件的记录.
就是如此规定的
这么说find抛出的FinderException不是因为找不到记录了?