mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 11:48:18 +00:00
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 <T> Class<? extends T> selectStrategyImplementor(Class<T> strategy, Strin
|
||||
}
|
||||
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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user