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:
Mark Paluch
2024-11-06 15:57:13 +01:00
parent 7db177e3cd
commit 3ef1bffb5c

View File

@@ -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();
}