Add records adds records without throwing an exception.
Add Records添加记录,没有抛出异常。
JSR 310 fixes this by throwing an exception for null arguments.
JSR 310通过抛出null参数异常修复了这个问题。
Throwing an exception not only unwinds the test but also signals an error.
抛出异常不仅要展开测试,还将报告错误。
If I do this, try and get the 10th element of a list that's only eight long. I get what looks like an error, but it's actually throwing an exception.
如果我来这么做,试着去取长度为8的列表的第十个元素,我貌似能得到一个错误。
应用推荐