当groovy代码调用一个不存在的方法时,有没有办法捕获NoSuchMethodError错误? 下面的代码导致NoSuchMethodError错误,该错误未被捕获,但执行了finally块。这会导致我的一些错误处理和报告出现问题。Pipeline] End of Pipeline
java.lang.NoSuchMethodError: No such DSL method 'dslDoesNotExist' 如果我修改了将要引用不存在的属性
试图实例化Throwable的对象会引发以下错误
java.lang.NoSuchMethodError: No direct method <init>(Ljava/lang/String;Ljavainternal/DefaultConstructorMarker;)V in class Ljava/lang/Throwable; or its super classes (declaration of 'java.lang.Throwableis a messag