List of usage examples for org.apache.commons.lang IntHashMap put
public Object put(int key, Object value)
Maps the specified key
to the specified value
in this hashtable.
From source file:org.edc.sstone.CheckedException.java
public String getErrorMessageKey() { Object ret = null;/*from w ww . j a va 2 s . c om*/ IntHashMap m = new IntHashMap(); m.put(PHONE_PROFILE_SILENT_MODE_ERROR, "audio.silent.error"); m.put(MODULE_READ_ERROR, "module.read.error"); m.put(MODULE_PROPERTIES_READ_ERROR, "module.properties.read.error"); ret = m.get(code); return (ret != null && ret instanceof String) ? (String) ret : "application.error"; }