code: public static int getInt(final String key, final int def) {
  		try {
  			return systemRoot.getInt(fixKey(key), def);
  		} catch (final Exception e) {
  			// just eat the exception to avoid any system crash on system issues
  			return def;
  		}
  	}
docs: Gets the int.
  
  @param key the key
  @param def the def
  @return the int
  @see java.util.prefs.Preferences#getInt(java.lang.String, int)