If you can, use a try-catch block.
如果能,那么使用try - catch块。
PMD flagged this as an empty catch block.
PMD把这标记为空catch块。
In this case, you'll need to surround your code with a try catch block.
在这种情况下,需要用一个trycatch程序块来包围代码。
First, multiple exception types can be named as being handled by a single catch block.
首先,一个catch块中可以处理多个指定类型的异常。
First, multiple exception types can be named as being handled by a single catch block.
首先,一个catch块中可以处理多个指定类型的异常。
应用推荐