private int parseDMax ( String dMaxString ) { int dMax ; try { dMax = Integer . parseInt ( dMaxString ) ; } catch ( NumberFormatException e ) { dMax = 0 ; } return dMax ; }
Parses dMaxString which is the value of dmax read in from a configuration file .