Skip to content

Commit 28e3667

Browse files
committed
add IllegalArgumentException to DiscountType enum
1 parent 0ac33ed commit 28e3667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NetLicensingClient/src/main/java/com/labs64/netlicensing/domain/vo/DiscountType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ public static DiscountType parseString(final String discountType) {
1313
}
1414
}
1515
}
16-
return null;
16+
throw new IllegalArgumentException(discountType);
1717
}
1818
}

0 commit comments

Comments
 (0)