Skip to content

Commit a55b1ff

Browse files
committed
rebased and fixed catch issue
1 parent d05f194 commit a55b1ff

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/org/apache/commons/cli/CommandLine.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -777,13 +777,8 @@ public <T> T[] getParsedOptionValues(final Option option, final Supplier<T[]> de
777777
result[i] = clazz.cast(option.getConverter().apply(values[i]));
778778
}
779779
return result;
780-
} catch (final Error t) {
781-
throw t;
782780
} catch (final Exception t) {
783781
throw ParseException.wrap(t);
784-
} catch (final Throwable t) {
785-
// this should not be reached.
786-
throw new RuntimeException(t);
787782
}
788783
}
789784

0 commit comments

Comments
 (0)