X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fentityownership%2Fselectionstrategy%2FEntityOwnerSelectionStrategyConfigReader.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fentityownership%2Fselectionstrategy%2FEntityOwnerSelectionStrategyConfigReader.java;h=126324fff04fe759e17af13e6c158da335e53d2a;hb=8232a626b43fdd2f5799da0fbcfb0f02d3c8f4fb;hp=29ace2475427d6fb830f1a4a482eeca46da0b25c;hpb=223118feea5b282ce8ea7cf1b26a09858ff67875;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/EntityOwnerSelectionStrategyConfigReader.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/EntityOwnerSelectionStrategyConfigReader.java index 29ace24754..126324fff0 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/EntityOwnerSelectionStrategyConfigReader.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/EntityOwnerSelectionStrategyConfigReader.java @@ -64,7 +64,7 @@ public final class EntityOwnerSelectionStrategyConfigReader { LOG.debug("Could not read strategy configuration file, will use default configuration"); } catch (IOException e1) { - LOG.warn("Failed to get configuration for {}, starting up empty", CONFIG_ID); + LOG.warn("Failed to get configuration for {}, starting up empty", CONFIG_ID, e1); return builder.build(); } finally { try { @@ -127,7 +127,7 @@ public final class EntityOwnerSelectionStrategyConfigReader { try { clazz = EntityOwnerSelectionStrategyConfigReader.class.getClassLoader().loadClass(strategyClassAndDelay); } catch (ClassNotFoundException e) { - throw new IllegalArgumentException("Failed to load strategy " + strategyClassAndDelay); + throw new IllegalArgumentException("Failed to load strategy " + strategyClassAndDelay, e); } Preconditions.checkArgument(EntityOwnerSelectionStrategy.class.isAssignableFrom(clazz),