List of usage examples for org.apache.commons.lang IntHashMap get
public Object get(int key)
Returns the value to which the specified key is mapped in this map.
From source file:org.edc.sstone.CheckedException.java
public String getErrorMessageKey() { Object ret = null;/*from ww w. j a v a2 s .co m*/ 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"; }