[MOD] use exception ValueError for int data check

Merged Sebastian Kennedy requested to merge 12.0-FIX_IntValueCheck into 12.0-stage

Merge request reports