Skip to content

Commit ea571ad

Browse files
committed
remove exception from converter of ItemsToValidationResultConverter
1 parent 1595496 commit ea571ad

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

NetLicensingClient/src/main/java/com/labs64/netlicensing/schema/converter/ItemsToValidationResultConverter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ public ValidationResult convert(final Netlicensing source) throws ConversionExce
3333

3434
for (final Item item : source.getItems().getItem()) {
3535
if (!Constants.ValidationResult.VALIDATION_RESULT_TYPE.equals(item.getType())) {
36-
final String sourceType = (item.getType() != null) ? item.getType() : "<null>";
37-
throw new ConversionException(String.format("Wrong item type '%s', expected '%s'", sourceType,
38-
Constants.ValidationResult.VALIDATION_RESULT_TYPE));
36+
continue;
3937
}
4038

4139
final Composition composition = new Composition();

0 commit comments

Comments
 (0)