Reduce verbosity on some reflection errors

This commit is contained in:
Marc Baloup 2024-12-26 00:24:17 +01:00
parent 2b407d7f27
commit 5782046b7a

View File

@ -50,7 +50,7 @@ public sealed abstract class ReflectMember<T, ID, EL extends AccessibleObject &
setAccessible(el); setAccessible(el);
return el; return el;
} catch (ReflectiveOperationException e2) { } catch (ReflectiveOperationException e2) {
ex.addSuppressed(e2); //ex.addSuppressed(e2);
throw ex; throw ex;
} }
} }