summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/src/main/java/com/yahoo/vespa/config/buildergen/LazyConfigCompiler.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/src/main/java/com/yahoo/vespa/config/buildergen/LazyConfigCompiler.java b/config/src/main/java/com/yahoo/vespa/config/buildergen/LazyConfigCompiler.java
index 634b23e3e1b..1d3cac46f2c 100644
--- a/config/src/main/java/com/yahoo/vespa/config/buildergen/LazyConfigCompiler.java
+++ b/config/src/main/java/com/yahoo/vespa/config/buildergen/LazyConfigCompiler.java
@@ -78,8 +78,7 @@ public class LazyConfigCompiler implements ConfigCompiler {
try {
Class<BUILDER> clazz = (Class<BUILDER>) classLoader.<BUILDER>loadClass(builderClassUrl);
return clazz.getDeclaredConstructor().newInstance();
- } catch (ClassNotFoundException | IllegalAccessException | InstantiationException
- | NoSuchMethodException | InvocationTargetException e) {
+ } catch (ReflectiveOperationException e) {
throw new RuntimeException("Error creating new instance of '" + builderClassUrl + "'", e);
}
}