Fix build and improve exception handling (#10726)
The PercentType and QuantityType can also throw an IllegalArgumentException. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -250,7 +250,7 @@ public class NeeoItemValueConverter {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} catch (NumberFormatException e) {
|
||||
} catch (IllegalArgumentException e) {
|
||||
// do nothing - let it go to the other cases
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user