HHH-12734 Add original exception when selected strategy could not be loaded

This commit is contained in:
Florian Lopes 2018-06-26 06:44:59 +02:00 committed by Guillaume Smet
parent ed34a25769
commit 83e4384c3e
1 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,8 @@ public class StrategySelectorImpl implements StrategySelector {
}
catch (ClassLoadingException e) {
throw new StrategySelectionException(
"Unable to resolve name [" + name + "] as strategy [" + strategy.getName() + "]"
"Unable to resolve name [" + name + "] as strategy [" + strategy.getName() + "]",
e
);
}
}