HHH-12734 Add original exception when selected strategy could not be loaded
This commit is contained in:
parent
ed34a25769
commit
83e4384c3e
|
@ -130,7 +130,8 @@ public class StrategySelectorImpl implements StrategySelector {
|
||||||
}
|
}
|
||||||
catch (ClassLoadingException e) {
|
catch (ClassLoadingException e) {
|
||||||
throw new StrategySelectionException(
|
throw new StrategySelectionException(
|
||||||
"Unable to resolve name [" + name + "] as strategy [" + strategy.getName() + "]"
|
"Unable to resolve name [" + name + "] as strategy [" + strategy.getName() + "]",
|
||||||
|
e
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue