Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rebased and fixed catch issue
  • Loading branch information
Claudenw committed Nov 13, 2024
commit a55b1ff577ab621bd145fbc181a505dc069fe6ac
5 changes: 0 additions & 5 deletions src/main/java/org/apache/commons/cli/CommandLine.java
Original file line number Diff line number Diff line change
Expand Up @@ -777,13 +777,8 @@ public <T> T[] getParsedOptionValues(final Option option, final Supplier<T[]> de
result[i] = clazz.cast(option.getConverter().apply(values[i]));
}
return result;
} catch (final Error t) {
throw t;
} catch (final Exception t) {
throw ParseException.wrap(t);
} catch (final Throwable t) {
// this should not be reached.
throw new RuntimeException(t);
}
}

Expand Down