Revise ClassUtils and ReflectionUtils.
We deprecated `ClassUtils` in the repo.utils package and introduced a slimmer variant in o.s.d.util. Also, ReflectionUtils hosts now several methods that have been in ClassUtils along with an improved method naming (find vs. get in combination with return value semantics). CastUtils is deprecated as we do not widely use it.
This commit is contained in:
@@ -681,6 +681,7 @@ public abstract class RepositoryFactorySupport
|
||||
try {
|
||||
return composition.invoke(invocationMulticaster, method, arguments);
|
||||
} catch (Exception ex) {
|
||||
|
||||
if (ex instanceof InvocationTargetException) {
|
||||
throw ((InvocationTargetException) ex).getTargetException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user