Multi-catch 多重抓取 ; 多捕捉 ; 多重捕获
Resources closed with try-with-resources can detect thrown exceptions and add to (multi -) catch blocks.
用try - with - resources关闭的资源能检测到抛出的异常并将其添加到(multi -) catch块中。
Multi-catch can be extended with new exception types.
可以用新的异常类型来展开multi - catch。
Exception blocks can be combined into a single multi-catch block.
异常块可以组合到单个multi - catch块中。
应用推荐