In this case, you'll need to surround your code with a try catch block.
在这种情况下,需要用一个try catch程序块来包围代码。
Listing 4 shows the preceding code in a try... catch structure.
清单4展示了try…catch结构中的上述代码。
If you need more complex behavior, you can add try-catch-finally blocks.
如果需要更复杂的行为,那么也可以添加try - catch -finally块。
If you can, use a try-catch block.
如果能,那么使用try - catch块。
You should try (catch) up with the others in your class.
你应该尽力赶上班上的其他同学。
You should try (catch) up with the others in your class.
你应该尽力赶上班上的其他同学。
应用推荐