我有以下代码:
public static void main(String[] args)
{
willItThrowException();
}
private static void willItThrowException() throws RuntimeException
{
throw new RuntimeException();
}
是否有任何 Eclipse 配置可以在方法声明中声明但未在行中捕获的未捕获运行时异常上显示警告/错误willItThrowException();
?