Remove obsolete comment

This commit is contained in:
Gary Gregory 2022-08-26 14:33:34 -04:00
parent 7cb81aa26f
commit dec5675c22
1 changed files with 2 additions and 2 deletions

View File

@ -156,14 +156,14 @@ public class ExceptionUtils {
Method method = null;
try {
method = throwable.getClass().getMethod(methodName);
} catch (final NoSuchMethodException | SecurityException ignored) { // NOPMD
} catch (final NoSuchMethodException | SecurityException ignored) {
// exception ignored
}
if (method != null && Throwable.class.isAssignableFrom(method.getReturnType())) {
try {
return (Throwable) method.invoke(throwable);
} catch (final IllegalAccessException | IllegalArgumentException | InvocationTargetException ignored) { // NOPMD
} catch (final IllegalAccessException | IllegalArgumentException | InvocationTargetException ignored) {
// exception ignored
}
}