Skip to content

Commit

Permalink
Reword error message
Browse files Browse the repository at this point in the history
Co-Authored-By: Yossi Farjoun <[email protected]>
  • Loading branch information
lbergelson and Yossi Farjoun authored Aug 2, 2019
1 parent a6f062b commit c05c1e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ private static void validateFilters(final VariantContext variantContext) {

for (String filter : filters) {
if ( filter == null) {
throw new IllegalStateException("'null' is not a valid filter string.");
throw new IllegalArgumentException("Filter string cannot be null.");
}
if (!VALID_FILTER.matcher(filter).matches()) {
throw new IllegalStateException("Filter '" + filter +
Expand Down

0 comments on commit c05c1e2

Please sign in to comment.