protected static float parseFloatParameter ( String value , String invalidDataMessage ) throws DataValidationException { try { return Float . parseFloat ( value ) ; } catch ( NumberFormatException nfe ) { throw new DataValidationException ( invalidDataMessage ) ; } }
Internal method to parse a float value .