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.
findByPrimarykey找不到表示你的primarykey有问题,
其他情况完全可能是正常的,比如数据库没有你要求条件的记录.
就是如此规定的
这么说find抛出的FinderException不是因为找不到记录了?