CLOUDSTACK-7930, CLOUDSTACK-7931: Do not allow to set invalid values for global settings which are of type integer and float

 Do not allow to set invalid values for global settings which are of type integer and float
Can you catch specific expected exceptions NPE and NFE?