question: private int idToInt ( String value ) { try { return Integer . valueOf ( value ) ; } catch ( NumberFormatException e ) { throw new ConfigurationException ( "invalid type ID: " + value ) ; } }
target:  Converts a string to an integer.