Throw exception when received non Integer value for parameter with Integer type